/* ── LOGIN PAGE LAYOUT ── */
.login-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    height: 58px;
}

.login-page {
    margin-top: 58px;
    display: flex;
    min-height: calc(100vh - 58px);
    min-height: calc(100dvh - 58px);
}

/* ── LEFT SCENIC PANEL ── */
.login-scenic {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #0d2137;
}

.login-scenic-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: loginSlowZoom 18s ease-in-out infinite alternate;
}

.login-scenic-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

@keyframes loginSlowZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.login-scenic-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 52px;
}

.login-scenic-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}

.login-scenic-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #29B6F6;
    animation: loginPulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes loginPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.8); }
}

.login-scenic-headline {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.login-scenic-sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,1);
    line-height: 1.65;
    max-width: 380px;
}

.login-scenic-stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
}

.login-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
}

.login-stat-label {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

.login-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    align-self: center;
}

/* Gallery dots */
.gallery-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.gallery-dot.active {
    background: #29B6F6;
    width: 24px;
    border-radius: 4px;
}

/* ── RIGHT LOGIN PANEL ── */
.login-panel {
    width: 460px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 52px;
    position: relative;
    box-shadow: -8px 0 40px rgba(0,0,0,0.07);
}

.login-inner {
    width: 100%;
    max-width: 340px;
}

/* Form fields */
.login-field-wrap {
    position: relative;
}

.login-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    z-index: 4;
}

.login-field-input {
    padding-left: 36px !important;
    padding-right: 40px !important;
    height: 46px;
    font-size: 14px;
}

.login-show-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    z-index: 4;
    display: flex;
    align-items: center;
}

/* Submit button */
.login-btn-submit {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* Validate */
.login-field-input.is-invalid {
    padding-right: 40px !important;
}

.login-show-pass,
.login-field-icon {
    color: #6c757d;
}

/* Partner badge */
.login-partner-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.login-partner-badge img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.login-partner-badge span {
    font-size: 11px;
    color: #999;
}

/* Responsive */
@media (max-width: 860px) {
    .login-page {
        flex-direction: column;
        min-height: calc(100vh - 58px);
        min-height: calc(100dvh - 58px);
    }

    .login-scenic {
        display: block;
        flex: none;
        min-height: clamp(200px, 30vh, 280px);
    }

    .login-scenic-content {
        padding: 24px 24px 20px;
    }

    .login-scenic-stats {
        gap: 20px;
        margin-top: 28px;
    }

    .login-panel {
        width: 100%;
        flex: none;
        padding: 32px 24px;
        align-items: flex-start;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-inner {
        max-width: 420px;
    }

    .login-partner-badge {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 12px;
        white-space: normal;
        margin-top: 24px;
        padding-top: 18px;
    }
}

@media (max-width: 576px) {
    .login-scenic {
        min-height: clamp(180px, 28vh, 220px);
    }

    .login-scenic-content {
        padding: 18px 16px 16px;
        justify-content: flex-end;
    }

    .login-scenic-tag {
        margin-bottom: 12px;
        padding: 5px 12px;
        font-size: 11px;
    }

    .login-scenic-headline {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .login-scenic-sub {
        font-size: 12px;
        line-height: 1.4;
        max-width: 100%;
    }

    .login-scenic-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
    }

    .login-scenic-stats > div {
        min-width: calc(50% - 12px);
    }

    .login-stat-divider {
        display: none;
    }

    .login-stat-num {
        font-size: 18px;
    }

    .login-stat-label {
        font-size: 9px;
    }

    .gallery-dots {
        display: none;
    }

    .login-panel {
        padding: 18px 16px 16px;
    }

    .login-inner {
        max-width: 100%;
    }

    .login-partner-badge {
        gap: 8px 10px;
        padding-top: 14px;
    }

    .login-partner-badge span {
        width: 100%;
        text-align: center;
    }

    .login-partner-badge img {
        height: 20px;
    }

    .login-topbar { padding: 0 16px; }
}

@media (max-width: 860px) and (max-height: 740px) {
    .login-scenic {
        min-height: 180px;
    }

    .login-scenic-content {
        padding: 18px 16px 14px;
    }

    .login-scenic-tag {
        margin-bottom: 10px;
        padding: 4px 10px;
        font-size: 10px;
    }

    .login-scenic-headline {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .login-scenic-sub {
        font-size: 11px;
        line-height: 1.35;
    }

    .login-scenic-stats {
        gap: 8px;
        margin-top: 12px;
    }

    .login-stat-num {
        font-size: 16px;
    }

    .login-stat-label {
        font-size: 8px;
    }

    .login-panel {
        padding: 16px;
    }

    .login-partner-badge {
        margin-top: 16px;
        padding-top: 10px;
    }

    .login-partner-badge img {
        height: 18px;
    }
}
