/* =====================================================================
   Agent auth pages (sign in / sign up / forgot password)
   Brand theme: violet -> pink, same as the admin & agent panels.
   Loaded AFTER each page's own <style>, so it only re-colours the
   existing design; layout and behaviour are unchanged.
   ===================================================================== */
:root {
    --teal: #7b2ff7;
    --teal-light: #f4eefe;
    --teal-mid: #d9c9f7;
    --navy: #3b1a86;
    --navy-dark: #1f0f4d;
    --border-focus: #7b2ff7;
    --bg: #f6f4fb;
    --text: #1f2433;
    --text2: #4a5064;
    --text3: #8a8fa0;
    --border: #e6e0f2;
    --bh-grad: linear-gradient(135deg, #7b2ff7 0%, #e3168f 100%);
    --shadow: 0 2px 16px rgba(60, 20, 120, .07);
    --shadow-lg: 0 20px 60px rgba(60, 20, 120, .18);
    --font: 'Poppins', 'DM Sans', sans-serif;
}

/* ---------- Brand panels (photo + gradient overlay) ---------- */
.visual-panel,
.sidebar {
    background:
        linear-gradient(155deg, rgba(31, 15, 77, .94) 0%, rgba(91, 31, 196, .86) 50%, rgba(227, 22, 143, .80) 100%),
        url('../front/images/page_background.png') center/cover !important;
}

.fp-header,
.otp-modal-header {
    background: linear-gradient(135deg, #3b1a86 0%, #7b2ff7 55%, #e3168f 100%) !important;
}

.vpo-1,
.sbo-1 { background: radial-gradient(circle, rgba(227, 22, 143, .35) 0%, transparent 70%) !important; }

.fpc-1 { background: radial-gradient(circle, rgba(123, 47, 247, .10) 0%, transparent 70%) !important; }
.fpc-2 { background: radial-gradient(circle, rgba(227, 22, 143, .07) 0%, transparent 70%) !important; }

.vp-heading em,
.sb-heading em { color: #ffc1e6 !important; }

.vp-tag span,
.sb-tag span { background: #ff7cc8 !important; }

.vp-feat-icon {
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
}

.sb-already a { color: #ffc1e6 !important; }

/* ---------- Text accents ---------- */
.form-eyebrow,
.fa-eyebrow { color: #7b2ff7 !important; }

.form-eyebrow::before,
.fa-eyebrow::before { background: var(--bh-grad) !important; }

.form-heading,
.fa-heading { color: #1f2433 !important; }

/* ---------- Fields ---------- */
.field input:focus,
.field select:focus,
.field textarea:focus,
.isd-select:focus,
.otp-box:focus {
    border-color: #7b2ff7 !important;
    box-shadow: 0 0 0 3px rgba(123, 47, 247, .14) !important;
}

.fs-icon {
    background: var(--bh-grad) !important;
    color: #fff !important;
}

/* ---------- Buttons ---------- */
.btn-login,
.btn-signup,
.btn-verify-submit:not(.success),
.btn-primary {
    background: var(--bh-grad) !important;
    box-shadow: 0 10px 24px -10px rgba(123, 47, 247, .75) !important;
}

.btn-login:hover,
.btn-signup:hover,
.btn-verify-submit:not(.success):hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #6a24e0 0%, #c8127c 100%) !important;
    box-shadow: 0 14px 28px -10px rgba(123, 47, 247, .85) !important;
}

.btn-demo:hover {
    border-color: #7b2ff7 !important;
    color: #7b2ff7 !important;
    background: #f4eefe !important;
}

.form-footer a,
.signup-note a,
.resend-btn,
.resend-link { color: #7b2ff7 !important; }

/* Step indicator (forgot password) */
.step-dot.active {
    border-color: #fff !important;
    background: #fff !important;
    color: #7b2ff7 !important;
}

/* ---------- "Back to website" link added on the auth pages ---------- */
.bh-back-site {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
    color: #747a8c;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.bh-back-site:hover { color: #7b2ff7; }

/* Registration sidebar: back link + benefits list */
.sb-back {
    display: inline-block;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    text-decoration: none;
}

.sb-back:hover { color: #fff; }

.sb-perks { margin: -12px 0 24px; padding: 0; list-style: none; }

.sb-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
    line-height: 1.45;
    backdrop-filter: blur(6px);
}

.sb-perks li b { display: block; color: #fff; font-size: 13px; font-weight: 600; }

.sb-perks span {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.sb-perks span svg { width: 16px; height: 16px; }

/* ".fa-heading" is also a Font Awesome icon name — stop FA drawing its glyph */
.fa-heading::before { content: none !important; }

/* State / City placeholder until a country is selected */
.field .ph-wait {
    background: #faf8fe !important;
    color: #a7a3b5;
    cursor: not-allowed;
}

/* Registration sidebar: never scrolls — it is fitted to the screen height instead */
.sidebar {
    overflow: hidden !important;
    padding: 32px 36px !important;
}

.sidebar::-webkit-scrollbar { display: none; }

.sidebar .sb-logo { margin-bottom: 28px !important; }
.sidebar .sb-tag { margin-bottom: 14px !important; }
.sidebar .sb-heading { font-size: 40px !important; margin-bottom: 10px !important; }
.sidebar .sb-sub { margin-bottom: 22px !important; }
.sb-back { margin-bottom: 18px; }
.sb-perks { margin: 0 0 16px; }
.sb-perks li { margin-bottom: 9px; padding: 9px 12px; }
.sidebar .sb-bottom { padding-top: 16px !important; }

/* Medium-height screens: shorter heading, one-line perks */
@media (max-height: 900px) {
    .sidebar { padding: 24px 32px !important; }
    .sidebar .sb-logo { margin-bottom: 20px !important; }
    .sidebar .sb-heading { font-size: 34px !important; }
    .sidebar .sb-sub { font-size: 13px !important; margin-bottom: 16px !important; }
    .sb-perks li { align-items: center; padding: 8px 12px; margin-bottom: 7px; }
    .sb-perks li div { font-size: 0; }               /* hide the description line */
    .sb-perks li div b { font-size: 13px; margin: 0; }
    .sb-perks span { width: 28px; height: 28px; }
}

/* Short screens: drop the perks list completely */
@media (max-height: 700px) {
    .sb-perks { display: none; }
    .sidebar .sb-heading { font-size: 30px !important; }
}
