/**
 * @copyright	Copyright © 2026 - All rights reserved.
 * @license		GNU General Public License v2.0
 * @author		tactic[studio]
 * 
 * Estilos para el módulo Escuela Matrícula
 */

.mod-escuela-matricula {
	max-width: 600px;
	margin: 20px auto;
	padding: 30px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.escuela-verificacion-container {
	width: 100%;
}

.escuela-titulo {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	text-align: center;
}

.escuela-descripcion {
	font-size: 15px;
	color: #666;
	margin-bottom: 25px;
	text-align: center;
	line-height: 1.5;
}

/* Formulario */
.form-verificar-dni {
	margin-bottom: 20px;
}

.form-group {
	margin-bottom: 15px;
}

.dni-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
}

.input-group {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.dni-input {
	flex: 1;
	padding: 12px 15px;
	font-size: 16px;
	border: 2px solid #ddd;
	border-radius: 6px;
	transition: all 0.3s ease;
	outline: none;
}

.dni-input:focus {
	border-color: #0066cc;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.dni-input::placeholder {
	color: #999;
}

/* Botones */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.btn-primary {
	background: #0066cc;
	color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
	background: #0052a3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn-success {
	background: #28a745;
	color: #ffffff;
	width: calc(100% - 0px);
	margin: 15px 0 0 0;
	font-size: 17px;
	padding: 15px 24px;
	box-sizing: border-box;
}

.btn-success:hover {
	background: #218838;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
	color: #ffffff;
	text-decoration: none;
}

.btn-loader {
	font-size: 14px;
}

/* Resultados */
.resultado-verificacion {
	margin-top: 20px;
	padding: 0;
	border-radius: 6px;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mensaje-exito {
	background: #d4edda;
	border: 2px solid #c3e6cb;
	padding: 25px 20px 20px 20px;
	border-radius: 6px;
	text-align: center;
}

.mensaje-exito i.fa-check-circle {
	font-size: 48px;
	color: #28a745;
	margin-bottom: 10px;
}

.mensaje-exito p {
	font-size: 16px;
	color: #155724;
	margin: 10px 0 15px 0;
	font-weight: 500;
}

.mensaje-error {
	background: #f8d7da;
	border: 2px solid #f5c6cb;
	padding: 20px;
	border-radius: 6px;
	text-align: center;
}

.mensaje-error i.fa-times-circle {
	font-size: 48px;
	color: #dc3545;
	margin-bottom: 10px;
}

.mensaje-error p {
	font-size: 16px;
	color: #721c24;
	margin: 10px 0;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	.mod-escuela-matricula {
		padding: 20px;
		margin: 10px;
	}
	
	.input-group {
		flex-direction: column;
		gap: 10px;
	}
	
	.dni-input,
	.btn-verificar {
		width: 100%;
	}
	
	.escuela-titulo {
		font-size: 20px;
	}
	
	.escuela-descripcion {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.mod-escuela-matricula {
		padding: 15px;
	}
	
	.escuela-titulo {
		font-size: 18px;
	}
	
	.btn {
		font-size: 15px;
		padding: 10px 18px;
	}
	
	.mensaje-exito i.fa-check-circle,
	.mensaje-error i.fa-times-circle {
		font-size: 36px;
	}
}
