* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 12% 8%, #11274B 0%, #0A1A33 45%, #050C1A 100%);
    min-height: 100vh;
    display: flex;
}

.login-wrap {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ── PANEL IZQUIERDO — formulario ── */
.login-left {
    flex: 0 1 42%;
    min-width: 420px;
    display: flex;
    align-items: center;
    padding: 40px 5vw;
    background: #fff;
}

.login-box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* ── PANEL DERECHO — imagen ── */
.login-right {
    flex: 1 1 58%;
    position: relative;
    overflow: hidden;
    background: #0A1A33;
}

.login-right-img {
    position: absolute;
    inset: 0;
    background: url('/assets/imagenes/qrotaxi-fondo.png') no-repeat center right;
    background-size: cover;
}

/* Glows decorativos para que el panel no se sienta vacío */
.login-right-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
}

.login-right-glow.glow-blue {
    width: 340px;
    height: 340px;
    left: -80px;
    top: 10%;
    background: #2088C8;
}

.login-right-glow.glow-pink {
    width: 260px;
    height: 260px;
    left: 8%;
    bottom: 12%;
    background: #173463;
    opacity: 0.22;
}

.login-right-glow.glow-green {
    width: 180px;
    height: 180px;
    left: 30%;
    top: 55%;
    background: #00A088;
    opacity: 0.25;
}

.login-right-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 26, 51, 0.92) 0%,
            rgba(10, 26, 51, 0.55) 30%,
            rgba(10, 26, 51, 0.15) 55%,
            rgba(10, 26, 51, 0.35) 100%);
}

.login-right-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px;
    z-index: 2;
}

.login-right-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.login-right-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2088C8;
    flex-shrink: 0;
}

.login-right-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    max-width: 420px;
}

.login-right-title em {
    color: #2088C8;
    font-style: normal;
}

.login-right-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 340px;
}

@media (max-width: 900px) {
    .login-right {
        display: none;
    }

    .login-left {
        flex: 1;
        min-width: 0;
    }
}

/* Marca */
.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.login-brand-img {
    height: 44px;
    width: auto;
}

/* Encabezado form */
.login-heading {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 32px;
}

/* Campos */
.login-field {
    margin-bottom: 18px;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.login-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.login-forgot {
    font-size: 12px;
    color: #2088C8;
    text-decoration: none;
}

.login-forgot:hover {
    text-decoration: underline;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap input {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 16px;
    font-size: 13px;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input-wrap input:focus {
    border-color: #2088C8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(32, 136, 200, 0.15);
}

.login-input-wrap input::placeholder {
    color: #9ca3af;
}

.login-input-wrap.has-eye input {
    padding-right: 44px;
}

.login-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 15px;
    padding: 0;
}

/* Checkbox */
.login-opts {
    display: flex;
    align-items: center;
    margin: 4px 0 28px;
}

.login-opts label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.login-opts input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    accent-color: #2088C8;
    cursor: pointer;
}

/* Botón */
.login-btn-primary {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    background: #00A088;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.login-btn-primary:hover {
    background: #049078;
}

.login-notice {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}

.login-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 28px 0 20px;
}

.login-signup {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 10px;
}

.login-signup a {
    color: #2088C8;
    text-decoration: none;
    font-weight: 500;
}

.login-signup a:hover {
    text-decoration: underline;
}

.login-footer {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 640px) {
    .login-left {
        padding: 32px 24px;
        justify-content: center;
    }
}
