/* ========================================================
   ESTILOS ESPECÍFICOS PARA INICIAR SESIÓN (iniciar.css)
   ======================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #1e3a8a 0%, #0f172a 100%);
    padding: 24px;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    padding: 36px 30px;
    text-align: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-brand i {
    font-size: 1.7rem;
    color: #93c5fd;
}

.auth-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

.auth-body {
    padding: 32px 30px;
}

.auth-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper i.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 1rem;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.auth-input-wrapper input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
}

.btn-auth-submit {
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Acceso Rápido de Demostración */
.demo-accounts {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.demo-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    text-align: center;
    margin-bottom: 12px;
}

.demo-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.demo-btn {
    padding: 8px 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.demo-btn i {
    font-size: 1rem;
}

.demo-btn.student { color: #1d4ed8; }
.demo-btn.student:hover { background: #dbeafe; border-color: #bfdbfe; }

.demo-btn.recruiter { color: #0f766e; }
.demo-btn.recruiter:hover { background: #ccfbf1; border-color: #99f6e4; }

.demo-btn.admin { color: #6d28d9; }
.demo-btn.admin:hover { background: #ede9fe; border-color: #ddd6fe; }

.auth-footer {
    padding: 16px;
    background: #f8fafc;
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
}
