/* ===============================
   SISTEMA EXPO - ESTILOS GENERALES
================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7f6;
    color: #111827;
}

/* ===============================
   PANTALLA DE LOGIN
================================ */

.login-page {
    min-height: 100vh;
    display: flex;
}

/* ===============================
   LADO IZQUIERDO
================================ */

.login-brand {
    width: 42%;
    background: linear-gradient(160deg, #061b16, #0b3d24);
    color: white;
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-logo h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
}

.login-logo span {
    color: #51b96b;
    font-weight: bold;
}

.login-brand-text h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.15;
}

.login-footer {
    max-width: 480px;
    font-size: 13px;
    line-height: 1.4;
    color: #bbf7d0;
}

/* ===============================
   LADO DERECHO
================================ */

.login-content {
    width: 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: white;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

.login-badge {
    display: inline-block;
    background: #e8f7ee;
    color: #087a3d;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 18px;
}

.login-card h2 {
    margin: 0 0 26px 0;
    font-size: 30px;
}

.login-description {
    margin: -10px 0 24px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* ===============================
   FORMULARIO
================================ */

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: bold;
    font-size: 14px;
}

.login-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    margin-bottom: 18px;
    outline: none;
}

.login-form input:focus {
    border-color: #087a3d;
    box-shadow: 0 0 0 3px rgba(8, 122, 61, 0.12);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 14px;
}

.login-options a {
    color: #087a3d;
    text-decoration: none;
    font-weight: bold;
}

.login-options a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #087a3d;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.login-button:hover {
    background: #066b35;
}

.login-options-center {
    margin-top: 25px;
    justify-content: center;
}

/* ===============================
   MENSAJES DEL SISTEMA
================================ */

.alert {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn .25s ease;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}