/* Barquecon Queue — split-screen login page. Self-contained: does not depend on
   Bootstrap/template.min.css. Palette is exposed as CSS variables on .bqt-login
   so it can be re-themed without touching selectors below. */

.bqt-login,
.bqt-login *,
.bqt-login *::before,
.bqt-login *::after { box-sizing: border-box; }

body.bqt-login {
    --login-navy: #0A1F44;
    --login-navy-2: #0D2A5C;
    --login-gold: #F5A623;
    --login-gold-2: #E8A317;
    --login-bg: #F4F6FA;
    --login-input-bg: #EAF0FB;
    --login-text: #333333;
    --login-muted: #6B7B8C;
    --login-line: #E3E8F0;
    --login-radius: 12px;
    --login-radius-lg: 20px;

    margin: 0; min-height: 100vh; background: var(--login-bg); color: var(--login-text);
    font-family: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
    display: flex; flex-direction: column;
}

.bqt-login-shell { display: flex; flex-direction: column; min-height: 100vh; width: 100%; }
.bqt-login-main { flex: 1 1 auto; display: flex; min-height: 0; }

/* ---------- Left panel: brand + illustration ---------- */
.bqt-login-left-wrap {
    position: relative; flex: 0 0 45%; max-width: 45%;
    background: linear-gradient(180deg, var(--login-gold) 0%, rgba(245,166,35,.25) 100%);
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.bqt-login-left {
    position: absolute; inset: 0; right: 4px;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    background:
        linear-gradient(155deg, rgba(10,31,68,.45) 0%, rgba(13,42,92,.90) 100%),
        url('../img/hero/login-illustration.png');
    background-size: cover, cover;
    background-position: center, right bottom;
    background-repeat: no-repeat, no-repeat;
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: 56px 48px 0 56px; overflow: hidden; color: #fff;
}
.bqt-login-left-top { position: relative; z-index: 1; }

.bqt-login-logo { line-height: 1.1; }
.bqt-login-logo img {
    width: 200px; height: auto; display: block; 
}
.bqt-login-logo-text {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 800; font-size: 2rem; color: #fff;
}
.bqt-login-logo-text .g { color: var(--login-gold); }
.bqt-login-logo-sub {
    display: block; margin-top: 2px; font-family: 'Nunito Sans', sans-serif;
    font-weight: 300; font-size: .78rem; letter-spacing: .32em; color: rgba(255,255,255,.75);
}

.bqt-login-divider {
    width: 64px; height: 2px; margin: 22px 0 20px;
    background: linear-gradient(90deg, var(--login-gold) 0%, rgba(255,255,255,.15) 100%);
}

.bqt-login-eyebrow {
    display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--login-gold); margin-bottom: 14px;
}

.bqt-login-heading {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 800;
    font-size: 2.15rem; line-height: 1.24; margin: 0 0 16px; color: #fff;
}
.bqt-login-heading .g { color: var(--login-gold); }

.bqt-login-copy { max-width: 380px; font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0; }

/* ---------- Right panel: sign-in card ---------- */
.bqt-login-right {
    flex: 1 1 55%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 48px 24px; background: var(--login-bg);
}

.bqt-login-card {
    width: 100%; max-width: 500px; background: #fff; border-radius: var(--login-radius-lg);
    box-shadow: 0 24px 60px rgba(10,31,68,.12); padding: 48px;
}

.bqt-login-badge {
    width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
    background: #fff; box-shadow: 0 10px 26px rgba(10,31,68,.14), 0 0 0 1px var(--login-line);
    display: flex; align-items: center; justify-content: center;
}
.bqt-login-badge i { color: var(--login-gold); font-size: 1.4rem; }

.bqt-login-title {
    margin: 0 0 6px; text-align: center; font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800; font-size: 1.6rem; color: var(--login-navy);
}
.bqt-login-subtitle { margin: 0 0 28px; text-align: center; font-size: .92rem; color: var(--login-muted); }

.bqt-login-alerts:empty { display: none; }
.bqt-login-alerts .alert {
    position: relative; margin: 0 0 18px; padding: 12px 38px 12px 16px; border-radius: var(--login-radius);
    font-size: .88rem; line-height: 1.4;
}
.bqt-login-alerts .alert p { margin: 0; }
.bqt-login-alerts .alert-success { background: #EAF7EE; color: #1E7B3C; border: 1px solid #CDEBD6; }
.bqt-login-alerts .alert-danger { background: #FDECEC; color: #B3261E; border: 1px solid #F6D0CE; }
.bqt-login-alerts .alert .close {
    position: absolute; top: 8px; right: 10px; background: none; border: none; cursor: pointer;
    font-size: 16px; line-height: 1; color: inherit; opacity: .55;
}
.bqt-login-alerts .alert .close:hover { opacity: 1; }

.bqt-login-form { margin: 0; }

.bqt-login-field { position: relative; margin-bottom: 14px; }
.bqt-login-field input {
    width: 100%; height: 50px; border-radius: var(--login-radius); border: 1px solid transparent;
    background: var(--login-input-bg); padding: 0 46px; font-size: .92rem; color: var(--login-navy);
    font-family: inherit; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.bqt-login-field input::placeholder { color: #8493A8; }
.bqt-login-field input:focus {
    border-color: var(--login-gold); box-shadow: 0 0 0 3px rgba(245,166,35,.18); background: #fff;
}
.bqt-login-field-icon {
    position: absolute; left: 17px; top: 65%; transform: translateY(-50%);
    color: var(--login-navy); opacity: .6; font-size: .92rem; pointer-events: none;
}
.bqt-login-toggle-pass {
    position: absolute; right: 8px; top: 65%; transform: translateY(-50%);
    width: 34px; height: 34px; border: none; background: transparent; cursor: pointer;
    color: var(--login-navy); opacity: .6; border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.bqt-login-toggle-pass:hover { opacity: 1; background: rgba(10,31,68,.06); }

.bqt-login-error { display: block; margin: -6px 0 12px 4px; font-size: .78rem; color: #C0392B; }

.bqt-login-row { display: flex; gap: 10px; margin-top: 6px; }

.bqt-login-lang { position: relative; flex: 0 0 152px; }
.bqt-login-lang-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 2;
    color: var(--login-navy); opacity: .55; font-size: .86rem; pointer-events: none;
}
.bqt-login-lang .select2-container { width: 100% !important; }
.bqt-login-lang .select2-selection--single {
    height: 50px !important; border-radius: var(--login-radius) !important; border: 1px solid var(--login-line) !important;
    background: #fff !important; padding-left: 30px;
}
.bqt-login-lang .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important; padding-left: 8px !important; font-size: .86rem; color: var(--login-navy);
}
.bqt-login-lang .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 8px; }

.bqt-login-submit {
    flex: 1 1 auto; height: 50px; border: none; border-radius: var(--login-radius);
    background: var(--login-gold); color: #fff; font-weight: 700; font-size: .88rem;
    letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 22px rgba(245,166,35,.32);
}
.bqt-login-submit:hover { background: var(--login-gold-2); transform: translateY(-1px); }
.bqt-login-submit:active { transform: translateY(0); }

.bqt-login-forgot { text-align: center; margin-top: 20px; }
.bqt-login-forgot a { color: #2B6CB0; font-size: .86rem; text-decoration: none; }
.bqt-login-forgot a:hover { text-decoration: underline; }

/* ---------- Feature highlights row (below card) ---------- */
.bqt-login-features {
    width: 100%; max-width: 640px; margin: 32px auto 0; display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.bqt-login-feature {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    padding: 0 12px; border-right: 1px solid var(--login-line);
}
.bqt-login-feature:last-child { border-right: none; }
.bqt-login-feature i { font-size: 1.15rem; color: var(--login-navy); opacity: .75; }
.bqt-login-feature span { font-size: .74rem; font-weight: 500; color: var(--login-muted); line-height: 1.3; }

/* ---------- Footer strip ---------- */
.bqt-login-footer {
    flex: 0 0 auto; background: var(--login-navy); border-top: 3px solid var(--login-gold);
    padding: 14px 32px; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: .82rem;
}
.bqt-login-footer a { color: var(--login-gold); text-decoration: none; font-weight: 600; }
.bqt-login-footer a:hover { text-decoration: underline; }
.bqt-login-footer-right { color: var(--login-gold); font-weight: 500; }
.bqt-login-footer-left i { margin-right: 6px; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .bqt-login-main { flex-direction: column; }
    .bqt-login-left-wrap {
        flex: 0 0 auto; max-width: 100%; width: 100%; clip-path: none;
        background: none; border-bottom: 4px solid var(--login-gold);
    }
    .bqt-login-left {
        position: static; inset: auto; clip-path: none; padding: 40px 24px 32px;
    }
    .bqt-login-right { padding: 40px 20px; }
    .bqt-login-card { padding: 36px 28px; }
}

@media (max-width: 575px) {
    .bqt-login-left { padding: 32px 20px 28px; }
    .bqt-login-heading { font-size: 1.7rem; }
    .bqt-login-card { padding: 28px 20px; border-radius: var(--login-radius); }
    .bqt-login-row { flex-direction: column; }
    .bqt-login-lang { flex: 1 1 auto; }
    .bqt-login-features { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .bqt-login-feature:nth-child(2n) { border-right: none; }
    .bqt-login-feature:nth-child(-n+2) { padding-bottom: 16px; border-bottom: 1px solid var(--login-line); }
    .bqt-login-footer { justify-content: center; text-align: center; }
}
