.r24cc {
	--r24cc-brand: #a2aa7b;
	--r24cc-accent: #c28c7e;
	--r24cc-ink: #153045;
	--r24cc-line: #e6e1dc;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	min-width: 220px;
	max-width: 360px;
	padding: 6px;
	border: 1px solid var(--r24cc-line);
	background: #fbfaf8;
	color: #171717;
	font-family: inherit;
	line-height: 1.25;
}

.r24cc *,
.r24cc *::before,
.r24cc *::after {
	box-sizing: border-box;
}

.r24cc__title {
	margin: 0 0 6px !important;
	padding: 5px 8px !important;
	border: 0 !important;
	background: var(--r24cc-brand);
	color: #fff !important;
	font-family: inherit;
	font-size: clamp(15px, 4.5vw, 18px) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	text-align: center;
}

.r24cc__rows {
	display: grid;
	gap: 3px;
}

.r24cc__row {
	display: grid;
	grid-template-columns: 22px minmax(105px, 1fr) 20px minmax(50px, 60px);
	align-items: center;
	gap: 2px;
	min-width: 0;
}

.r24cc__flag {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 15px;
	overflow: hidden;
	border: 1px solid #cfcac5;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(21, 48, 69, 0.09);
}

.r24cc__flag svg {
	display: block;
	width: 100%;
	height: 100%;
}

.r24cc__currency {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3px;
	width: 100%;
	min-width: 0;
	height: 24px;
	margin: 0 !important;
	padding: 2px 4px !important;
	border: 1px solid #d9d6d2 !important;
	border-radius: 2px !important;
	background: linear-gradient(#fff, #ededeb) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
	color: #111 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	text-align: left;
	cursor: pointer;
}

.r24cc__currency:hover,
.r24cc__currency:focus-visible {
	border-color: var(--r24cc-brand) !important;
	outline: none;
}

.r24cc__currency > span:first-child {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.r24cc__chevron {
	width: 0;
	height: 0;
	flex: 0 0 auto;
	border-top: 5px solid #444;
	border-right: 3px solid transparent;
	border-left: 3px solid transparent;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7));
}

.r24cc__symbol {
	display: block;
	min-width: 0;
	overflow: hidden;
	color: #111;
	font-size: 11px;
	line-height: 1;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.r24cc__amount {
	width: 100% !important;
	min-width: 0 !important;
	height: 24px !important;
	margin: 0 !important;
	padding: 2px 3px !important;
	border: 1px solid #ded9d3 !important;
	border-radius: 9px !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.035) !important;
	color: #111 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-align: right !important;
}

.r24cc__amount:focus {
	border-color: var(--r24cc-brand) !important;
	box-shadow: 0 0 0 2px rgba(162, 170, 123, 0.2) !important;
	outline: none !important;
}

.r24cc__row.is-loading {
	opacity: 0.72;
}

.r24cc__picker {
	position: absolute;
	z-index: 9999;
	top: 38px;
	right: 6px;
	left: 6px;
	overflow: hidden;
	border: 1px solid #c7c4c0;
	border-radius: 4px;
	background: #f4f4f4;
	box-shadow: 0 12px 30px rgba(21, 48, 69, 0.22);
}

.r24cc__picker[hidden] {
	display: none !important;
}

.r24cc__picker-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 33px;
	padding: 4px 7px 4px 9px;
	background: var(--r24cc-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.r24cc__picker-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer;
}

.r24cc__picker-close:hover,
.r24cc__picker-close:focus-visible {
	background: rgba(255, 255, 255, 0.15) !important;
	outline: none;
}

.r24cc__options {
	max-height: 300px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0;
	scrollbar-color: #999 #e5e5e5;
	scrollbar-width: thin;
}

.r24cc__option-group {
	position: sticky;
	z-index: 1;
	top: 0;
	padding: 5px 8px;
	background: #e6e4df;
	color: #56534f;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.r24cc__option {
	display: block;
	width: 100%;
	min-height: 32px;
	margin: 0 !important;
	padding: 5px 8px !important;
	border: 0 !important;
	border-bottom: 1px solid #e2e0dd !important;
	border-radius: 0 !important;
	background: #f6f6f6 !important;
	box-shadow: none !important;
	color: #111 !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	text-align: left;
	cursor: pointer;
}

.r24cc__option:hover,
.r24cc__option:focus-visible {
	background: #dce1cb !important;
	color: #111 !important;
	outline: none;
}

.r24cc__status {
	min-height: 16px;
	padding: 3px 2px 0;
	color: #657046;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
}

.r24cc__status:empty {
	min-height: 8px;
	padding: 0;
}

.r24cc__status.is-error {
	color: #9c2f2f;
}

.r24cc__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 1px;
	padding: 0 2px;
	color: rgba(21, 48, 69, 0.62);
	font-size: 11px;
	font-style: italic;
	font-weight: 400;
}

.r24cc__info {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	border: 1px solid #ddd7d0;
	border-radius: 50%;
	background: #fff;
	color: var(--r24cc-ink);
	font-family: Georgia, serif;
	font-size: 11px;
	font-style: italic;
	font-weight: 700;
	cursor: help;
}

.r24cc__tooltip {
	position: absolute;
	z-index: 10000;
	right: -2px;
	bottom: calc(100% + 8px);
	visibility: hidden;
	width: 225px;
	padding: 7px 8px;
	border-radius: 4px;
	background: var(--r24cc-ink);
	box-shadow: 0 6px 18px rgba(21, 48, 69, 0.2);
	color: #fff;
	font-family: inherit;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.r24cc__info:hover .r24cc__tooltip,
.r24cc__info:focus .r24cc__tooltip {
	visibility: visible;
	opacity: 1;
}

.r24cc__notice {
	margin: 6px 4px !important;
	padding: 9px !important;
	border-radius: 4px;
	background: #fff4e5;
	color: #7a4a00;
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 340px) {
	.r24cc {
		min-width: 0;
	}

	.r24cc__row {
		grid-template-columns: 20px minmax(92px, 1fr) 18px minmax(46px, 54px);
		gap: 2px;
	}

	.r24cc__flag {
		width: 20px;
		height: 14px;
	}

	.r24cc__currency,
	.r24cc__amount,
	.r24cc__symbol {
		font-size: 11px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.r24cc *,
	.r24cc *::before,
	.r24cc *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
