body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.school-logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.welcome-text {
    color: #37474f;
}

.field-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #546e7a;
}

.field-label i {
    color: #2e7d32;
    font-size: 0.8rem;
    margin-right: 3px;
}

.field-input-solo {
    border-radius: 8px !important;
    border: 1.5px solid #d4ddd4;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #37474f;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input-solo:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}

.field-input-solo::placeholder { color: #aab8aa; }

.field-input-group {
    border-radius: 8px 0 0 8px !important;
    border: 1.5px solid #d4ddd4;
    border-right: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #37474f;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input-group:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
    z-index: 1;
}

.field-input-group::placeholder { color: #aab8aa; }

.eye-btn {
    border: 1.5px solid #d4ddd4;
    border-left: none;
    border-radius: 0 8px 8px 0 !important;
    color: #546e7a;
    background: #fff;
    transition: color 0.15s, background-color 0.15s;
}

.eye-btn:hover {
    background-color: #f4f7f6;
    color: #2e7d32;
    border-color: #d4ddd4;
}

.btn-primary {
    background-color: #2e7d32;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1b5e20;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27,94,32,0.35);
}

.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-primary:disabled {
    background-color: #2e7d32;
    opacity: 0.65;
    cursor: not-allowed;
}

.alerta {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.83rem;
    text-align: left;
    border-left: 3px solid transparent;
}

.alerta.success { background: #e8f5e9; color: #2d6a35; border-left-color: #2e7d32; }
.alerta.danger  { background: #fdecea; color: #c0392b; border-left-color: #e74c3c; }
.alerta.warning { background: #fff8e1; color: #7d5a00; border-left-color: #f0c040; }

.d-none { display: none !important; }

@media (max-width: 576px) {
    body { align-items: flex-start; }
    .hero-card { padding: 1.5rem !important; }
}