@keyframes ss-valueIn {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes ss-valueOut {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(0);
		opacity: 0;
	}
}

.ss-hide {
	display: none !important;
}

.ss-main {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 15px;
    background: var(--color-blue5);
    border: 3px solid var(--color-blue4);
    color: var(--color-pink);
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    position: relative;
	user-select: none;
	cursor: pointer;
	outline: 0;
	overflow: hidden;
    white-space: nowrap;
}

.ss-main.country {
    padding-left: 50px;
    padding-right: 30px;
    background: var(--color-blue5) url("/assets/images/ico-country.svg") 12px center no-repeat ;
}

.ss-main.currency {
    padding-left: 50px;
    padding-right: 30px;
    background: var(--color-blue5) url("/assets/images/ico-currency.svg") 12px center no-repeat ;
}

.ss-main:focus {
    border: 3px solid var(--color-pink);
}

.ss-main.ss-disabled {
	background-color: var(--color-blue4);
	cursor: not-allowed;
}

.ss-main.ss-disabled .ss-values .ss-disabled {
	color: var(--color-blue4);
}

.ss-main.ss-disabled .ss-values .ss-value .ss-value-delete {
	cursor: not-allowed;
}

.ss-main.ss-open-above {
    border: 3px solid var(--color-pink);
    border-top: 3px transparent;
    border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

.ss-main.ss-open-below {
    border: 3px solid var(--color-pink);
    border-bottom: 3px transparent;
    border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

.ss-main .ss-values {
    background: var(--color-blue5);
    display: block;
    width: 100%;
}

.ss-main .ss-values .ss-placeholder {
	display: flex;
	padding: var(--ss-spacing-s) var(--ss-spacing-m) var(--ss-spacing-s) var(--ss-spacing-m);
	margin: auto 0px auto 0px;
	line-height: 1em;
	align-items: center;
	width: 100%;
	color: var(--ss-font-placeholder-color);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ss-main .ss-values .ss-max {
	display: flex;
	user-select: none;
	align-items: center;
	width: fit-content;
	font-size: 12px;
	color: var(--ss-bg-color);
	line-height: 1;
	padding: var(--ss-spacing-s) var(--ss-spacing-m);
	background-color: var(--ss-primary-color);
	border-radius: var(--ss-border-radius);
}

.ss-main .ss-values .ss-single {
	display: block;
	margin: auto 0px auto;
    overflow: hidden;
}

.ss-main .ss-values .ss-value {
	display: flex;
	user-select: none;
	align-items: center;
	width: fit-content;
	background-color: var(--ss-primary-color);
	border-radius: var(--ss-border-radius);
	animation-name: ss-valueIn;
	animation-duration: var(--ss-animation-timing);
	animation-timing-function: ease-out;
	animation-fill-mode: both;
}

.ss-main .ss-values .ss-value.ss-value-out {
	animation-name: ss-valueOut;
	animation-duration: var(--ss-animation-timing);
	animation-timing-function: ease-out;
}

.ss-main .ss-values .ss-value .ss-value-text {
	font-size: 12px;
	color: var(--ss-bg-color);
	line-height: 1;
	padding: var(--ss-spacing-s) var(--ss-spacing-m);
}

.ss-main .ss-values .ss-value .ss-value-delete {
	display: flex;
	align-items: center;
	height: var(--ss-spacing-l);
	width: var(--ss-spacing-l);
	padding: var(--ss-spacing-s) var(--ss-spacing-m);
	cursor: pointer;
	border-left: solid 1px var(--ss-bg-color);
	box-sizing: content-box;
}

.ss-main .ss-values .ss-value .ss-value-delete svg {
	height: var(--ss-spacing-l);
	width: var(--ss-spacing-l);
}

.ss-main .ss-values .ss-value .ss-value-delete svg path {
	fill: none;
	stroke: var(--color-blue);
	stroke-width: 18;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ss-main .ss-deselect {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: auto;
	padding: 0 var(--ss-spacing-m) 0 var(--ss-spacing-m);
}

.ss-main .ss-deselect svg {
	width: 8px;
	height: 8px;
}

.ss-main .ss-deselect svg path {
	fill: none;
	stroke: var(--color-blue);
	stroke-width: 20;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ss-main .ss-arrow {
    display: block;
    position: absolute;
    top: 17px;
    right: 12px;
    width: 12px;
	height: 12px;
}

.ss-main .ss-arrow path {
	fill: none;
	stroke: var(--color-blue);
	stroke-width: 18;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition-timing-function: ease-out;
	transition: var(--ss-animation-timing);
}


.ss-content {
	position: absolute;
	display: flex;
	height: auto;
	flex-direction: column;
	width: auto;
	max-height: 300px;
	box-sizing: border-box;
	border: 3px solid var(--color-pink);
    background: var(--color-blue5);
	background-color: var(--ss-bg-color);
	transition: transform var(--ss-animation-timing),opacity var(--ss-animation-timing);
	opacity: 0;
	transform: scaleY(0);
	transform-origin: center top;
	overflow: hidden;
	z-index: 10000;
}



.ss-content.ss-relative {
	position: relative;
	height: 100%;
}

.ss-content.ss-fixed {
	position: fixed;
}

.ss-content.ss-open-above {
	flex-direction: column-reverse;
	opacity: 1;
	transform: scaleY(1);
	transform-origin: center bottom;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
    border-bottom: 0;
    background: var(--color-blue5);
}

.ss-content.ss-open-below {
	opacity: 1;
	transform: scaleY(1);
	transform-origin: center top;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
    border-top: 0;
    background: var(--color-blue5);
}

.ss-content .ss-search {
	flex: 0 1 auto;
	display: flex;
	flex-direction: row;
	border: 0;
    background: var(--color-blue5);
    font-size: 13px; 
    color: var(--color-blue);
    padding: 8px;
}

.ss-content .ss-search input {
    display: block;
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
    padding: 10px;
    width: 100%;
	margin: 0;
    border: 2px solid var(--color-blue3);
    border-radius: 3px;
    background-color: var(--color-blue5);
	outline: 0;
	text-align: left;   
	box-sizing: border-box;
    color: var(--color-blue);
}

.ss-content .ss-search input::placeholder {
	color: var(--color-blue);
    font-weight: 500;
	vertical-align: middle;
}



.ss-content .ss-search .ss-addable {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	flex: 0 0 auto;
	height: auto;
	margin: 0 0 0 var(--ss-spacing-m);
	border: 1px solid var(--ss-border-color);
	border-radius: var(--ss-border-radius);
}

.ss-content .ss-search .ss-addable svg {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 1 auto;
	width: 12px;
	height: 12px;
	margin: auto var(--ss-spacing-m) auto var(--ss-spacing-m);
}

.ss-content .ss-search .ss-addable svg path {
	fill: none;
	stroke: var(--ss-font-color);
	stroke-width: 18;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ss-content .ss-list {
	flex: 1 1 auto;
	height: auto;
	overflow-x: hidden;
	overflow-y: auto;
    background: var(--color-blue5);
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ss-content .ss-list::-webkit-scrollbar {
  width: 8px;
}

.ss-content .ss-list::-webkit-scrollbar-track {
  background: var(--color-blue4);
}

.ss-content .ss-list::-webkit-scrollbar-thumb {
  background-color: var(--color-pink);
  border-radius: 6px;
}

/* Firefox */
.ss-content .ss-list {
  scrollbar-width: thin;
  scrollbar-color: var(--color-pink) transparent;
}

/* hide arrows */
.ss-content .ss-list::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.ss-content .ss-list::-webkit-scrollbar-button:single-button {
  display: none;
  background: transparent;
  height: 0;
  width: 0;
}

.ss-content .ss-list .ss-search {
    padding-left: 18px;
}


.ss-content .ss-list .ss-error {
	color: var(--ss-error-color);
	padding: var(--ss-spacing-l);
}

.ss-content .ss-list .ss-searching {
	color: var(--ss-font-color);
	padding: var(--ss-spacing-l);
}

.ss-content .ss-list .ss-optgroup.ss-close .ss-option {
	display: none !important;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: var(--ss-spacing-m) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l);
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-label-text {
	flex: 1 1 auto;
	font-weight: bold;
	color: var(--ss-font-color);
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label:has(.ss-arrow) {
	cursor: pointer;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions {
	flex: 0 1 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: var(--ss-spacing-m);
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall {
	flex: 0 0 auto;
	display: flex;
	flex-direction: row;
	cursor: pointer;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall:hover {
	opacity: .5;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall.ss-selected svg path {
	stroke: var(--ss-error-color);
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall span {
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 60%;
	text-align: center;
	padding: 0 var(--ss-spacing-s) 0 0;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg {
	flex: 0 1 auto;
	width: 13px;
	height: 13px;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg path {
	fill: none;
	stroke: var(--ss-success-color);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:first-child {
	stroke-width: 5;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:last-child {
	stroke-width: 11;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable {
	flex: 0 1 auto;
	display: flex;
	flex-direction: row;
	cursor: pointer;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow {
	flex: 1 1 auto;
	width: 10px;
	height: 10px;
}

.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow path {
	fill: none;
	stroke: var(--color-blue);
	stroke-width: 18;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition-timing-function: ease-out;
	transition: var(--ss-animation-timing);
}

.ss-content .ss-list .ss-optgroup .ss-option {
	padding: var(--ss-spacing-s) var(--ss-spacing-s) var(--ss-spacing-s) calc(var(--ss-spacing-l)*3);
}

.ss-content .ss-list .ss-option {
	display: block;
    background-color: var(--color-blue5);
    margin: 0 0 10px 10px;
    padding: 1px 0 1px 6px;
    border-left: 3px solid transparent;
    white-space: nowrap;
	color: var(--color-blue);
	cursor: pointer;
	user-select: none;
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
    
}

.ss-content .ss-list .ss-option:hover {
	color: var(--color-pink);
	border-left: 3px solid var(--color-pink);

}

.ss-content .ss-list .ss-option.ss-highlighted,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
	color: var(--color-pink);
	border-left: 3px solid var(--color-pink);
}

.ss-content .ss-list .ss-option.ss-disabled {
	cursor: not-allowed;
	background-color: var(--color-blue4);
}

.ss-content .ss-list .ss-option.ss-disabled:hover {
	color: var(--color-blue4);
}

.ss-content .ss-list .ss-option .ss-search-highlight {
	display: inline-block;
	background-color: var(--color-pink);
}