/* ==========================================================================
   ACCESO CLIENTES — LOGIN
   Página de acceso autónoma (sin navbar/footer del sitio) con la marca leonix.
   ========================================================================== */

.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
    color: #1e293b;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
    box-sizing: border-box;
}

.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.auth-logo {
    display: block;
}

.auth-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
}

.auth-title {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
}

.auth-error {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.auth-error.hidden {
    display: none;
}

.auth-field {
    margin-bottom: 1.25rem;
}

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

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
    background: #ffffff;
}

.auth-submit {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #ff6b00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.auth-submit:hover {
    background: #e85f00;
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-submit:disabled {
    background: #fbbf8a;
    cursor: not-allowed;
}

.auth-help {
    margin: 1.75rem 0 0;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

.auth-help a {
    color: #ff6b00;
    text-decoration: none;
}

.auth-help a:hover {
    text-decoration: underline;
}
