k* {
    box-sizing: border-box;
    font-family: Inter, Segoe UI, Arial, sans-serif;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: #020617;
    color: #0f172a;
}

.login-page {
    height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
}

/* PANEL IZQUIERDO */
.left-panel {
    position: relative;
    padding: 36px 48px;
    color: white;
    background:
        linear-gradient(90deg, rgba(2,6,23,.96), rgba(4,30,66,.9)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b5fff, #00c853);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 1000;
}

.brand h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1;
}

.brand span {
    color: #7dd3fc;
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 800;
}

.hero {
    margin-top: 58px;
    max-width: 560px;
}

.hero h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 900;
}

.hero h1 strong {
    display: block;
    background: linear-gradient(90deg, #38bdf8, #22c55e, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.45;
    color: #dbeafe;
}

.features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
    gap: 12px;
}

.feature {
    padding: 18px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(15,23,42,.42);
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 26px;
    color: #38bdf8;
}

.feature h4 {
    margin: 10px 0 4px;
    font-size: 15px;
}

.feature p {
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
}

.modules {
    display: none;
}

footer {
    position: absolute;
    left: 48px;
    right: 48px;
    bottom: 24px;
    display: flex;
    justify-content: space-between;
    color: #cbd5e1;
    font-size: 13px;
}

/* PANEL DERECHO */
.right-panel {
    position: relative;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.language {
    position: absolute;
    top: 24px;
    right: 32px;
    padding: 9px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.85);
    border: 1px solid #e2e8f0;
    color: #334155;
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: white;
    border-radius: 30px;
    padding: 34px 38px 26px;
    box-shadow: 0 24px 70px rgba(15,23,42,.16);
}

.login-logo {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #041e42, #0b5fff, #00c853);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 1000;
}

.login-card h3 {
    text-align: center;
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}

.subtitle {
    text-align: center;
    margin: 7px 0 22px;
    color: #64748b;
    font-size: 14px;
}

.alert {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}

form label {
    display: block;
    margin: 12px 0 6px;
    text-transform: uppercase;
    font-size: 12px;
    color: #1e293b;
    font-weight: 900;
}

.input-group {
    height: 48px;
    border: 1px solid #d8e0ee;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    background: white;
}

.input-group:focus-within {
    border-color: #0b5fff;
    box-shadow: 0 0 0 4px rgba(11,95,255,.1);
}

.input-group i {
    color: #64748b;
    font-size: 18px;
}

.input-group input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 15px;
}

.options {
    margin: 14px 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    text-transform: none;
    font-size: 13px;
    color: #334155;
}

.remember input {
    accent-color: #166534;
}

.options a {
    color: #0b5fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

form button {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    font-size: 15px;
    background: linear-gradient(90deg, #0b5fff, #00c853);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.divider {
    display: none;
}

.google-btn {
    display: none;
}

.login-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.login-footer div {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 9px;
    align-items: center;
}

.login-footer i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5fff;
    font-size: 16px;
}

.login-footer small {
    color: #64748b;
    text-transform: uppercase;
    font-size: 10px;
}

.login-footer b {
    color: #0f172a;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        height: 100vh;
    }
}

@media (max-height: 720px) {
    .hero {
        margin-top: 34px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 15px;
    }

    .features {
        margin-top: 18px;
    }

    .feature {
        padding: 14px 12px;
    }

    .login-card {
        padding: 26px 34px 22px;
    }

    .login-logo {
        width: 56px;
        height: 56px;
        font-size: 32px;
        margin-bottom: 12px;
    }
}
