/**
 * ═══════════════════════════════════════════════════════════════
 *  ARYGATO SYSTEM — Estilos del Login (Clean SaaS Design)
 * ═══════════════════════════════════════════════════════════════
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background-color: #0f172a;
    color: #1e293b;
}

/* ── LADO IZQUIERDO: FORMULARIO ── */
.login-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    background: #ffffff;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.03);
    z-index: 10;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand-logo {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.brand p {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

/* Formulario e Inputs */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.input-wrap {
    position: relative;
    width: 100%;
}

.input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s;
}

.input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.input-wrap input:focus {
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.input-wrap input:focus + i,
.input-wrap input:focus ~ i {
    color: #ea580c;
}

.input-wrap .icon-right {
    left: auto;
    right: 14px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.btn-login:hover {
    background: #c2410c;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.btn-login:active {
    transform: scale(0.99);
}

.btn-login i {
    margin-right: 8px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
    align-items: center;
    gap: 8px;
}

.footer-text {
    text-align: center;
    margin-top: 32px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* ── LADO DERECHO: SLATE BAND & FEATURES ── */
.login-right {
    width: 55%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #f8fafc;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.circle-1 { width: 420px; height: 420px; top: -120px; right: -100px; }
.circle-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }

.right-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 440px;
}

.right-content .big-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.right-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.right-content p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 340px;
    margin: 0 auto;
    line-height: 1.6;
}

.features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
}

.feature-item i {
    font-size: 16px;
    color: #ea580c;
    background: rgba(234, 88, 12, 0.12);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 13.5px;
    color: #cbd5e1;
    font-weight: 500;
}

@media (max-width: 768px) {
    .login-right { display: none; }
    .login-left  { width: 100%; padding: 40px 24px; }
}
