.page-wrapper {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 2.75rem 1.5rem;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

/* ═══════════════════════════════
   LEFT COLUMN
═══════════════════════════════ */
.col-left {
    flex: 0 0 390px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    border: 1px solid rgba(0,50,140,.08);
}

/* Navy header band */
.col-left-header {
    background: var(--navy);
    padding: 1.75rem 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.col-left-header::after {
    content: '';
    position: absolute;
    right: -50px; top: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

.login-logo { display: block; text-decoration: none; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.login-logo img { width:130px; height:auto; display:block; }

.col-left-header h1 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}
.col-left-header .subtitle {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    position: relative;
    z-index: 1;
}
.col-left-header .subtitle a { color: var(--orange); text-decoration: none; font-weight: 500; }
.col-left-header .subtitle a:hover { text-decoration: underline; }

/* Form area — no flex-grow, natural height */
.col-left-body {
    background: var(--white);
    padding: 1.75rem 2.25rem 1.5rem;
    flex-shrink: 0;
}

.form-group { margin-bottom: 13px; }

.login-error {
    display: none;
    background: #FEF2F2;
    border: 1.5px solid #FECACA;
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    margin-bottom: 13px;
    font-size: 13px;
    font-weight: 500;
    color: #991B1B;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    margin-top: 4px;
}
.form-row label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray-400); cursor: pointer; }
.form-row input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--blue); }
.form-row a { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 500; }

.btn-primary:hover { box-shadow: 0 4px 14px rgba(255,158,24,.40); }

/* Footer cards — grow to fill remaining left column height */
.col-left-footer {
    padding: 1rem 2.25rem 1.75rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1;
    border-top: 1px solid var(--gray-100);
}

/* Last inner-card grows to absorb leftover height, content stays centered */
.col-left-footer .inner-card:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--gray-300);
    margin-bottom: 5px;
}

.inner-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    padding: .75rem .9rem;
}

.gc-banner {
    margin-top: .6rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    padding: .5rem .25rem .25rem;
}

.referral-inner { display: flex; align-items: center; gap: 10px; }
.referral-dot {
    flex-shrink: 0; width: 28px; height: 28px;
    background: var(--orange-bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.referral-dot svg { width: 13px; height: 13px; fill: var(--orange-dk); }
.referral-copy { flex: 1; min-width: 0; }
.referral-copy strong { display: block; font-size: 12px; font-weight: 600; color: var(--gray-600); margin-bottom: 1px; }
.referral-copy span { font-size: 11px; color: var(--gray-400); }
.referral-inner a { flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.referral-inner a:hover { text-decoration: underline; }

.app-btns { display: flex; gap: 6px; }
.app-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 6px; background: var(--white); border: 1.5px solid var(--gray-200);
    color: var(--gray-600); border-radius: var(--radius-sm); padding: 6px 8px;
    text-decoration: none; transition: border-color .15s, background .15s;
}
.app-btn:hover { border-color: var(--blue); background: var(--blue-pale); }
.app-btn svg { width: 13px; height: 13px; fill: var(--gray-400); flex-shrink: 0; }
.app-btn-icon {
    display: inline-block; width: 13px; height: 13px; flex-shrink: 0;
    background-color: var(--gray-400);
    -webkit-mask-image: var(--icon); mask-image: var(--icon);
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
}
.app-btn:hover svg { fill: var(--blue); }
.app-btn:hover .app-btn-icon { background-color: var(--blue); }
.app-btn-text { display: flex; flex-direction: column; }
.app-btn-text small { font-size: 8px; color: var(--gray-400); letter-spacing: .3px; }
.app-btn-text span { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--gray-600); }

/* ══════════════════
   RIGHT COLUMN
══════════════════ */
.col-right {
    flex: 0 0 330px;
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

/* Dashcam card — photo + text layout */
.dc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    flex-shrink: 0;
}

.dc-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.dc-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}
.dc-img-overlay {
    position: absolute;
    top: 10px; left: 12px;
}

.dc-panel {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.dc-badge {
    display: inline-block;
    background: var(--blue-lt);
    color: var(--blue);
    font-size: 10px; font-weight: 700;
    letter-spacing: .7px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 4px;
    border: 1px solid rgba(0,85,184,.12);
    align-self: flex-start;
}

.dc-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.25;
}
.dc-body { font-size: 12px; color: var(--gray-500); line-height: 1.55; }

.dc-cta {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--orange); color: var(--white);
    font-size: 12px; font-weight: 600;
    padding: 8px 16px; border-radius: var(--radius-sm);
    text-decoration: none; transition: background .15s; white-space: nowrap;
    align-self: flex-start; margin-top: 2px;
}
.dc-cta:hover { background: var(--orange-dk); }

/* Help Center callout — natural height */
.hc-callout {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    flex-shrink: 0;
}

.hc-callout-header {
    background: var(--navy);
    padding: 1.1rem 1.5rem;
    flex-shrink: 0;
}
.hc-callout-header h3 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px; color: var(--white);
    margin-bottom: 4px; line-height: 1.2;
}
.hc-callout-header p { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.5; }

.hc-callout-body {
    padding: 1rem 1.5rem;
}

.hc-visit-btn {
    display: block;
    width: 100%;
    padding: 11px 16px;
    background: var(--blue);
    color: var(--white);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px; font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    transition: background .15s;
}
.hc-visit-btn:hover { background: var(--navy); }

.hc-callout-footer {
    padding: .875rem 1.5rem;
    border-top: 1px solid var(--gray-100);
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 10px; flex-wrap: wrap; flex-shrink: 0;
}
.hc-support-info { font-size: 12px; color: var(--gray-500); line-height: 1.6; }
.hc-support-info strong { display: block; font-size: 12px; font-weight: 600; color: var(--gray-600); }
.hc-support-info a { color: var(--blue); text-decoration: none; }

/* Mobile App card — right column */
.mobile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card);
    padding: .9rem 1.1rem;
    flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
    padding: 12px 0 1.5rem;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 1rem;
    max-width: 820px; margin: 0 auto; width: 100%;
}

@media (max-width: 760px) {
    .page-wrapper { flex-direction: column; align-items: stretch; padding: 1.5rem 1rem; }
    .col-left, .col-right { flex: none; width: 100%; }
}