:root {
	--brand-bg: #f5fbff;
	--brand-dark: #0f394c;
	--brand-light: #49b5e7;
	--brand-white: #ffffff;
}

.custom-selection::selection {
	background-color: rgba(73, 181, 231, 0.3);
}

::placeholder {
	color: color-mix(in oklab, var(--brand-dark) 40%, transparent);
	font-weight: 500;
}

/* Custom Utilities based on the React design */
.bg-brand-white {
	background-color: var(--brand-white);
}

.bg-brand-dark {
	background-color: var(--brand-dark);
}

.bg-brand-bg {
	background-color: var(--brand-bg);
}

.text-brand-dark {
	color: var(--brand-dark);
}

.text-brand-light {
	color: var(--brand-light);
}

.text-brand-white {
	color: var(--brand-white);
}

.rounded-3xl {
	border-radius: 1.5rem;
}

.rounded-2xl {
	border-radius: 1rem;
}

.rounded-xl {
	border-radius: 0.75rem;
}

/* Control Panel */
.control-panel {
	border: 1px solid rgba(15, 57, 76, 0.05);
}

.icon-box {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 15px -3px rgba(15, 57, 76, 0.1), 0 4px 6px -2px rgba(15, 57, 76, 0.05);
}

.option-item {
	background-color: var(--brand-bg);
	border: 1px solid rgba(15, 57, 76, 0.05);
	padding: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Toggle Switch */
.toggle-switch {
	width: 3rem;
	height: 1.5rem;
	border-radius: 1rem;
	position: relative;
	cursor: pointer;
	transition: background-color 0.2s;
	border: none;
}

.toggle-switch.active {
	background-color: var(--brand-light);
}

.toggle-switch:not(.active) {
	background-color: rgba(15, 57, 76, 0.1);
}

.toggle-knob {
	position: absolute;
	top: 0.25rem;
	left: 0.125rem;
	width: 1rem;
	height: 1rem;
	background-color: var(--brand-white);
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s;
}

.toggle-switch.active .toggle-knob {
	transform: translateX(1.625rem);
}

/* Textareas */
textarea {
	width: 100%;
	height: 500px;
	padding: 1.5rem;
	border-radius: 1.5rem;
	background-color: var(--brand-white);
	border: 2px solid rgba(15, 57, 76, 0.05);
	outline: none;
	transition: all 0.2s;
	font-size: 0.875rem;
	resize: none;
	color: color-mix(in oklab, var(--brand-dark) 90%, transparent);
	font-weight: 500;
}

textarea:focus {
	border-color: var(--brand-light);
}

/* Buttons */
.btn-convert {
	background-color: var(--brand-dark);
	color: var(--brand-white);
	padding: 0.75rem 2rem;
	border-radius: 1rem;
	font-weight: 700;
	border: none;
	box-shadow: 0 20px 25px -5px rgba(15, 57, 76, 0.3);
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-convert:hover {
	background-color: rgba(15, 57, 76, 0.9);
	transform: scale(1.02);
}

.btn-convert:active {
	transform: scale(0.95);
}

.btn-icon {
	color: rgba(15, 57, 76, 0.4);
	background-color: var(--brand-white);
	border: 1px solid rgba(15, 57, 76, 0.05);
	border-radius: 0.5rem;
	transition: all 0.2s;
	width: 35px;
	height: 35px;
}

.btn-icon:hover {
	color: var(--brand-light);
}

.btn-icon.btn-clear:hover {
	color: #ef4444;
}

.btn-sample {
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	background-color: rgba(73, 181, 231, 0.1);
	color: var(--brand-light);
	border: 1px solid rgba(73, 181, 231, 0.2);
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.2s;
}

.btn-sample:hover {
	background-color: var(--brand-light);
	color: var(--brand-white);
}

/* Empty State Overlay */
.empty-state {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: rgba(15, 57, 76, 0.1);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.3s;
}

.empty-state.hidden {
	opacity: 0;
}

.empty-state i {
	font-size: 5rem;
	margin-bottom: 1rem;
	opacity: 0.05;
}

.empty-state p {
	font-weight: 700;
	font-size: 1.125rem;
}

/* Select Styling */
select {
	background: transparent;
	border: none;
	font-weight: 700;
	color: var(--brand-light);
	text-align: right;
	padding-right: 0.5rem;
	cursor: pointer;
	outline: none;
}

.options {
	padding: 30px 40px 30px 40px;
	margin-bottom: 40px;
}

.footer-text {
	color: color-mix(in oklab, var(--brand-dark) 40%, transparent);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}