/* Definición de Variables CSS */
:root {
	--color-primary: #004696;
	/* Azul primario sutil */
	--color-success: #28a745;
	/* Verde para resultados */
	--color-background: #f8f9fa;
	/* Gris muy claro */
	--third-color: #ffcc00;
}

/* Estilos Globales y Layout */
body {
	background-color: var(--color-background);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Tarjeta Principal (Calculadora) */
.card-remesa {
	background-color: rgba(255, 255, 255, 0.85);
	/* Blanco con transparencia */
	border: none;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	/* Sombra suave */
	padding: 2.5rem;
}

/* Estilos de Inputs */
.input-group-lg .form-control {
	border: 2px solid #ced4da;
	border-radius: 8px;
	font-size: 1.8rem;
	/* Fuente grande para el monto */
	font-weight: 700;
	text-align: right;
	padding: 1rem 0.75rem;
}

.input-group-lg .form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.input-group-text {
	background-color: #f1f3f5;
	/* Fondo más claro para los prefijos */
	color: #495057;
	font-weight: 600;
	border-radius: 8px 0 0 8px !important;
	font-size: 1rem;
}

.input-group-lg .input-group-text:last-child {
	border-radius: 0 8px 8px 0 !important;
	font-size: 1.5rem;
}

/* Estilo del resultado (Bs) */
#monto_bs {
	background-color: #e9f5ff;
	/* Color de fondo sutil para el resultado */
	color: var(--color-primary);
}

/* Tasa de Cambio (Comentado, pero mantenemos el estilo si se reactiva) */
#tasa_actual {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--color-success) !important;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
	margin-bottom: 1.5rem !important;
}

/* Botón de Solicitud */
#btn-solicitar {
	background-color: var(--color-primary);
	border: none;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 0.75rem;
	border-radius: 30px;
}

/*HOVER  Botón de Solicitud */
#btn-solicitar:hover,
#btn-solicitar:focus:hover {
	color: var(--primary-color);
	background: var(--third-color);
}

/* Background Slider */
.background-slider {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	overflow: hidden;
}

.background-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 4s;
	will-change: opacity;
}

.background-slide.active {
	opacity: 1;
	z-index: 1;
}

/* Media Queries (Responsive) */
@media (max-width: 575.98px) {
	.card-remesa {
		padding: 1rem;
	}

	.input-group-lg .form-control {
		font-size: 1.1rem;
		padding: 0.5rem 0.5rem;
	}

	.input-group-lg .input-group-text:last-child {
		font-size: 1rem;
	}

	#tasa_actual {
		font-size: 1.1rem;
		padding: 0.5rem 0;
	}

	.card-title {
		font-size: 1.2rem !important;
	}

	.form-label.h4 {
		font-size: 1rem !important;
	}

	.alert {
		font-size: 0.95rem;
		padding: 0.5rem;
	}

	.btn-lg,
	#btn-solicitar {
		font-size: 1rem;
		padding: 0.5rem;
	}
}
