.currency-converter {
	padding: 0 0 60px;
}

.currency-converter__head {
	margin-bottom: 50px;
}

.currency-converter__title {
	margin: 0 0 24px;
	font-family: "NT Somic Med", "NT Somic", sans-serif;
	font-size: 40px;
	line-height: 44px;
	font-weight: 500;
	color: #252628;
}

.currency-converter__subtitle {
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: #252628;
}

.currency-converter__panel {
	display: flex;
	gap: 32px;
	padding: 32px;
	background: #f8f8f8;
	border-radius: 52px;
}

.currency-converter__card {
	flex: 1 1 0;
	min-width: 0;
	background: #fff;
	border-radius: 20px;
	padding: 20px 24px;
}

.currency-converter__card--form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.currency-converter__field {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.currency-converter__label {
	margin: 0;
	font-family: "NT Somic Bd", "NT Somic", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #252628;
}

.currency-converter__control {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 8px 8px 8px 16px;
	background: #f8f8f8;
	border: 1px solid #f8f8f8;
	border-radius: 6px;
}

.currency-converter__input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	font-family: "NT Somic", sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #252628;
}

.currency-converter__input::placeholder {
	color: #7e7e7e;
}

.currency-converter__select {
	position: relative;
	flex: 0 0 auto;
}

.currency-converter__select-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	height: 40px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-family: "NT Somic", sans-serif;
	font-size: 18px;
	line-height: 28px;
	color: #252628;
}

.currency-converter__select-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	transition: transform 0.2s ease;
}

.currency-converter__select.is-open .currency-converter__select-icon {
	transform: rotate(180deg);
}

.currency-converter__select-list {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 5;
	min-width: 100%;
	width: 102px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(37, 38, 40, 0.08);
}

.currency-converter__select-option {
	display: flex;
	align-items: center;
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 0;
	border-bottom: 1px solid #f8f8f8;
	background: #fff;
	cursor: pointer;
	text-align: left;
	font-family: "NT Somic", sans-serif;
	font-size: 18px;
	line-height: 28px;
	color: #252628;
}

.currency-converter__select-option:last-child {
	border-bottom: 0;
}

.currency-converter__select-option:hover {
	background: #f8f8f8;
}

.currency-converter__note {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: #252628;
	opacity: 0.6;
}

.currency-converter__card--result {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}

.currency-converter__result-title {
	font-family: "NT Somic Med", "NT Somic", sans-serif;
	font-size: 28px;
	line-height: 32px;
	color: #252628;
}

.currency-converter__result-row {
	display: flex;
	gap: 20px;
}

.currency-converter__result-col {
	flex: 1 1 0;
	min-width: 0;
}

.currency-converter__result-label {
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 28px;
	color: #7e7e7e;
}

.currency-converter__result-value {
	font-family: "NT Somic Med", "NT Somic", sans-serif;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0.48px;
	color: #252628;
	word-break: break-word;
}

.currency-converter__rate {
	font-family: "NT Somic Bd", "NT Somic", sans-serif;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #069347;
}

.currency-converter__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.currency-converter__offices-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.currency-converter__disclaimer {
	margin: 0;
	max-width: 219px;
	font-size: 14px;
	line-height: 18px;
	color: #7e7e7e;
}

@media (max-width: 1024px) {
	.currency-converter__title {
		font-size: 32px;
		line-height: 36px;
	}

	.currency-converter__panel {
		flex-direction: column;
		gap: 20px;
		padding: 24px;
		border-radius: 32px;
	}

	.currency-converter__result-value {
		font-size: 36px;
		line-height: 44px;
	}

	.currency-converter__result-title {
		font-size: 24px;
		line-height: 28px;
	}
}

@media (max-width: 768px) {
	.currency-converter__head {
		margin-bottom: 30px;
	}

	.currency-converter__title {
		margin-bottom: 16px;
		font-size: 28px;
		line-height: 32px;
	}

	.currency-converter__subtitle {
		font-size: 16px;
		line-height: 24px;
	}

	.currency-converter__panel {
		padding: 16px;
		border-radius: 24px;
	}

	.currency-converter__card {
		padding: 16px;
	}

	.currency-converter__result-row {
		flex-direction: column;
		gap: 16px;
	}

	.currency-converter__result-value {
		font-size: 32px;
		line-height: 40px;
	}

	.currency-converter__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.currency-converter__offices-btn {
		width: 100%;
		text-align: center;
	}

	.currency-converter__disclaimer {
		max-width: none;
	}
}
