/**
 * Welding Leads System — Public Styles
 * Version: 1.1.0 — Modern Design
 * Author: Md. Saidur Rahman · https://saidur-it.vercel.app
 */

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    --wl-primary:    #1B2D6B;
    --wl-primary-dk: #131f4f;
    --wl-accent:     #FF9500;
    --wl-green:      #22C55E;
    --wl-green-bg:   #F0FDF4;
    --wl-green-dark: #166534;
    --wl-bg:         #F4F6FB;
    --wl-white:      #FFFFFF;
    --wl-border:     #E2E8F0;
    --wl-text:       #1A1A2E;
    --wl-muted:      #64748B;
    --wl-shadow-sm:  0 1px 5px rgba(0,0,0,0.06);
    --wl-shadow:     0 4px 22px rgba(0,0,0,0.11);
    --wl-radius:     12px;
    --wl-radius-sm:  7px;
    --wl-font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
}

/* ===========================
   Notice Bar
   =========================== */
.wl-notice-bar {
    background: linear-gradient(90deg, #E07B00 0%, #FF9500 100%);
    color: #fff;
    text-align: center;
    padding: 11px 20px;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--wl-radius-sm);
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

/* ===========================
   Payment Success Banner
   =========================== */
.wl-payment-success-banner {
    background: linear-gradient(135deg, #0d7a3e 0%, #15803d 100%);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 24px;
    padding: 20px 28px;
    box-shadow: 0 4px 16px rgba(13,122,62,.25);
}
.wl-payment-success-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wl-success-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.wl-payment-success-banner strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.wl-payment-success-banner p {
    margin: 0;
    font-size: 0.9rem;
    opacity: .9;
}

/* ===========================
   Subscription Status Bar
   =========================== */
.wl-subscription-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-left: 4px solid #1a2e4a;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.wl-sub-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wl-sub-plan {
    font-weight: 700;
    font-size: 1rem;
    color: #1a2e4a;
}
.wl-sub-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wl-sub-status-active    { background: #dcfce7; color: #15803d; }
.wl-sub-status-past_due  { background: #fef9c3; color: #854d0e; }
.wl-sub-status-cancelled { background: #fee2e2; color: #991b1b; }
.wl-sub-status-inactive  { background: #f3f4f6; color: #6b7280; }
.wl-sub-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748b;
}
.wl-sub-meta strong { color: #1a2e4a; }

/* Member modal (cancel subscription confirmation) */
.wl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.55);
}
.wl-modal-overlay.is-open {
    display: flex;
}
.wl-modal--member {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 24px 28px;
}
.wl-modal--member h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--wl-text, #1a2e4a);
}
.wl-modal--member p {
    margin: 0 0 20px;
    color: #475569;
    line-height: 1.55;
    font-size: 0.95rem;
}
.wl-modal--member .wl-modal-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 8px;
}

/* ===========================
   Base Wrappers
   =========================== */
.wl-dashboard,
.wl-leads-table-wrapper,
.wl-lead-detail,
.wl-recent-leads {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--wl-font);
    color: var(--wl-text);
}

.wl-dashboard,
.wl-leads-table-wrapper,
.wl-lead-detail,
.wl-recent-leads {
    padding: 12px 0 24px;
}

/* ===========================
   Member Page Full-Width Hero Shell
   =========================== */
.wl-member-page {
    --wl-member-page-max: 1180px;
    --wl-member-page-pad: 24px;
    font-family: var(--wl-font);
    color: var(--wl-text);
}

.wl-member-page--dashboard,
.wl-member-page--leads,
.wl-member-page--lead-detail {
    --wl-member-page-max: 1200px;
}

.wl-member-page__hero {
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, #1B2D6B 0%, #243a8e 52%, #0d1a42 100%);
}

/*
 * V2 shell hero: ≤1024px JS viewport-pin handles width — hero stays inside shell (no vw breakout).
 * Desktop: restore full-bleed gradient like other member pages.
 */
@media (max-width: 1024px) {
    body.wl-page-member .wl-account-v2-shell .wl-member-page__hero,
    body.wl-page-member .wl-billing-v2-shell .wl-member-page__hero {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (min-width: 1025px) {
    body.wl-page-member .wl-account-v2-shell,
    body.wl-page-member .wl-billing-v2-shell {
        overflow-x: visible;
    }
    body.wl-page-member .wl-account-v2-shell .wl-member-page__hero,
    body.wl-page-member .wl-billing-v2-shell .wl-member-page__hero {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
}

.wl-member-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 82%, rgba(255,149,0,.14) 0%, transparent 40%),
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.08) 0%, transparent 38%);
    pointer-events: none;
}

.wl-member-page__hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,149,0,.95), #ffcb5c, rgba(255,149,0,.95));
}

.wl-member-page__hero-inner,
.wl-member-page__body {
    position: relative;
    z-index: 1;
    max-width: var(--wl-member-page-max);
    margin: 0 auto;
}

.wl-member-page__hero-inner {
    padding: 34px var(--wl-member-page-pad) 30px;
}

.wl-member-page__body {
    padding: 28px var(--wl-member-page-pad) 48px;
}

.wl-member-page .wl-dashboard,
.wl-member-page .wl-leads-table-wrapper,
.wl-member-page .wl-lead-detail,
.wl-member-page .wl-account-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.wl-member-page__hero .wl-dash-hero,
.wl-member-page__hero .wl-account-hero,
.wl-member-page__hero .wl-page-header,
.wl-member-page__hero .wl-detail-header {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.wl-member-page__hero .wl-page-header {
    padding-bottom: 0;
}

.wl-member-page__hero .wl-dash-hero::after {
    display: none;
}

.wl-member-page__hero .wl-dash-hero-left,
.wl-member-page__hero .wl-account-hero {
    min-height: 0;
    padding: 0;
}

.wl-member-page__hero .wl-account-hero {
    gap: 0;
}

.wl-member-page__hero .wl-back-link {
    margin: 0 0 18px;
}

.wl-member-page__hero .wl-back-link a {
    color: rgba(255,255,255,.92);
}

.wl-member-page__hero .wl-back-link a:hover {
    color: #ffffff;
}

.wl-member-page__hero .wl-kicker,
.wl-member-page__hero .wl-kicker-light {
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
}

.wl-member-page__hero .wl-hero-title,
.wl-member-page__hero .wl-hero-title-sm,
.wl-member-page__hero .wl-dash-hero-title,
.wl-member-page__hero .wl-page-title,
.wl-member-page__hero .wl-detail-company {
    color: #ffffff !important;
}

.wl-member-page__hero .wl-hero-text,
.wl-member-page__hero .wl-dash-hero-sub,
.wl-member-page__hero .wl-page-sub,
.wl-member-page__hero .wl-detail-sub {
    color: rgba(255,255,255,.78);
}

.wl-member-page__hero .wl-page-header-chips {
    align-items: flex-start;
}

.wl-member-page__hero .wl-proof-chip {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
    color: #ffffff;
    box-shadow: none;
}

.wl-member-page__hero .wl-proof-chip-accent {
    background: #ffffff;
    color: #1B2D6B;
    border-color: transparent;
}

.wl-member-page__hero .wl-detail-badge-wrap .wl-badge,
.wl-member-page__hero .wl-detail-badge-wrap .wl-badge-soft-light,
.wl-member-page__hero .wl-detail-badge-wrap .wl-badge-ghost-light {
    background: rgba(255,255,255,.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.24);
}

.wl-member-page__hero .wl-detail-badge-wrap .wl-badge::before {
    display: none;
}

.wl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,149,0,.12);
    color: #B45309;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-kicker-light {
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
}

.wl-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr);
    gap: 24px;
    padding: 34px;
    margin-bottom: 28px;
    background:
        radial-gradient(circle at top left, rgba(255,149,0,.12), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FF 100%);
    border: 1px solid rgba(27,45,107,.08);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(17, 24, 39, .08);
}

.wl-hero-panel-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 28px 30px;
}

.wl-hero-title {
    margin: 16px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #111827;
}

.wl-hero-title-sm {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    max-width: 12ch;
}

.wl-hero-text,
.wl-section-copy {
    max-width: 58ch;
    color: var(--wl-muted);
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0;
}

.wl-section-copy {
    margin-top: 6px;
}

.wl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 18px;
}

.wl-proof-row,
.wl-hero-stats-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wl-proof-row span,
.wl-proof-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(27,45,107,.1);
    color: var(--wl-text);
    font-size: 0.84rem;
    font-weight: 700;
}
.wl-proof-chip-metric {
    min-width: 126px;
    min-height: 84px;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}
.wl-proof-chip-metric strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    color: #0F172A;
    letter-spacing: -0.02em;
}
.wl-proof-chip-metric small {
    display: block;
    color: #64748B;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wl-proof-chip-accent {
    background: rgba(255,149,0,.12);
    border-color: rgba(255,149,0,.2);
    color: #B45309;
}

.wl-insight-grid,
.wl-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wl-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 8px;
}

.wl-insight-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FF 100%);
    border: 1px solid rgba(27,45,107,.08);
    border-radius: 22px;
    padding: 22px;
    min-height: 100%;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.wl-insight-card-accent {
    background: linear-gradient(180deg, rgba(27,45,107,.97) 0%, rgba(19,31,79,1) 100%);
    color: #fff;
}

.wl-insight-card-accent p,
.wl-insight-card-accent h3,
.wl-insight-card-accent strong,
.wl-insight-card-accent .wl-insight-index {
    color: inherit;
}

.wl-insight-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(27,45,107,.08);
    color: var(--wl-primary);
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.wl-insight-card-accent .wl-insight-index {
    background: rgba(255,255,255,.14);
}

.wl-insight-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.wl-insight-card p {
    margin: 0 0 18px;
    color: var(--wl-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.wl-insight-card strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--wl-primary);
}

.wl-insight-card-accent strong {
    color: #fff;
}

/* ===========================
   Stats Row
   =========================== */
.wl-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.wl-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.wl-process-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid rgba(27,45,107,.09);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.wl-process-card-accent {
    background: linear-gradient(180deg, rgba(27,45,107,.97) 0%, rgba(19,31,79,1) 100%);
    color: #fff;
}

.wl-process-card-accent h3,
.wl-process-card-accent p,
.wl-process-card-accent .wl-process-step {
    color: inherit;
}

.wl-process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(27,45,107,.08);
    color: var(--wl-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.wl-process-card-accent .wl-process-step {
    background: rgba(255,255,255,.14);
}

.wl-process-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.wl-process-card p {
    margin: 0;
    color: var(--wl-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.wl-stats-card {
    background: var(--wl-white);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--wl-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}

.wl-stats-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--wl-primary);
    border-radius: var(--wl-radius) var(--wl-radius) 0 0;
}

.wl-stats-card.wl-card-accent::after { background: var(--wl-accent); }
.wl-stats-card.wl-card-green::after  { background: var(--wl-green); }

.wl-stats-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wl-shadow);
}

.wl-stats-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.75;
}

.wl-stats-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--wl-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.wl-stats-card.wl-card-accent .wl-stats-number { color: #D97706; }
.wl-stats-card.wl-card-green  .wl-stats-number { color: #16A34A; }

.wl-stats-label {
    display: block;
    font-size: 0.75rem;
    color: var(--wl-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===========================
   Dashboard Section Card
   =========================== */
.wl-dashboard-section {
    background: var(--wl-white);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--wl-shadow-sm);
}

.wl-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.wl-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wl-text);
    margin: 0;
}

/* ===========================
   Buttons
   =========================== */
.wl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--wl-radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .18s ease;
    line-height: 1.2;
    white-space: nowrap;
    font-family: var(--wl-font);
}

.wl-btn-primary {
    background: var(--wl-primary);
    color: #fff !important;
}
.wl-btn-primary:hover {
    background: var(--wl-primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27,45,107,.28);
}

.wl-btn-outline {
    background: transparent;
    color: var(--wl-primary) !important;
    border-color: var(--wl-primary);
}
.wl-btn-outline:hover {
    background: var(--wl-primary);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27,45,107,.20);
}

.wl-btn-export {
    background: #16A34A;
    color: #fff !important;
}
.wl-btn-export:hover {
    background: #15803D;
    box-shadow: 0 4px 12px rgba(22,163,74,.30);
    transform: translateY(-1px);
}

.wl-btn-sm { padding: 7px 14px; font-size: 0.8rem; }

/* ===========================
   Toolbar
   =========================== */
.wl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.wl-search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 220px;
}

.wl-search-input {
    flex: 1;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    font-size: 0.9rem;
    font-family: var(--wl-font);
    background: var(--wl-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.056a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E") no-repeat 13px center;
    transition: border-color .2s, box-shadow .2s;
}

.wl-search-input:focus {
    outline: none;
    border-color: var(--wl-primary);
    box-shadow: 0 0 0 3px rgba(27,45,107,.12);
}

.wl-search-btn {
    padding: 10px 22px;
    background: var(--wl-primary);
    color: #fff;
    border: none;
    border-radius: var(--wl-radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--wl-font);
    transition: background .18s;
    white-space: nowrap;
}
.wl-search-btn:hover { background: var(--wl-primary-dk); }

.wl-search-clear {
    font-size: 0.85rem;
    color: var(--wl-muted);
    text-decoration: none;
}
.wl-search-clear:hover { color: #DC2626; }

/* ===========================
   Table Card
   =========================== */
.wl-table-card {
    background: var(--wl-white);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    overflow: hidden;
    box-shadow: var(--wl-shadow-sm);
}

.wl-table-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid rgba(27,45,107,.08);
    border-radius: 18px;
}

.wl-table-meta-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.wl-table-scroll {
    overflow-x: auto;
}

/* ===========================
   Leads Table
   =========================== */
.wl-leads-table {
    width: 100%;
    border-collapse: collapse;
}

.wl-leads-table thead {
    background: var(--wl-bg);
    border-bottom: 2px solid var(--wl-border);
}

.wl-leads-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wl-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.wl-leads-table th a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.wl-leads-table th a:hover { color: var(--wl-primary); }

.wl-leads-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--wl-border);
    font-size: 0.9rem;
    color: var(--wl-text);
    vertical-align: middle;
}

.wl-leads-table tbody tr:last-child td { border-bottom: none; }
.wl-leads-table tbody tr { transition: background .12s; }
.wl-leads-table tbody tr:hover { background: #F8FAFF; }

.wl-company-cell a { text-decoration: none; color: inherit; }
.wl-company-cell strong {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--wl-primary);
}
.wl-company-cell a:hover strong { text-decoration: underline; }

.wl-sub-text {
    font-size: 0.78rem;
    color: var(--wl-muted);
    margin-top: 2px;
    display: block;
}

/* ===========================
   Connect / View Lead Button
   =========================== */
.wl-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    background: var(--wl-primary);
    color: #fff !important;
    border-radius: var(--wl-radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s, transform .15s;
    white-space: nowrap;
    font-family: var(--wl-font);
}
.wl-connect-btn:hover {
    background: var(--wl-primary-dk);
    transform: translateY(-1px);
}

/* ===========================
   Badges
   =========================== */
.wl-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}
.wl-badge-verified {
    background: var(--wl-green-bg);
    color: var(--wl-green-dark);
}
.wl-badge-verified::before {
    content: "✓";
    font-size: 0.85em;
    font-weight: 800;
}
.wl-badge-unverified {
    background: #F1F5F9;
    color: var(--wl-muted);
}
.wl-badge-industry {
    background: #EEF2FF;
    color: #3730A3;
}

/* Freshness badges */
.wl-badge-fresh {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    white-space: nowrap;
}
.wl-badge-new {
    background: #DCFCE7;
    color: #166534;
}
.wl-badge-recent {
    background: #DBEAFE;
    color: #1D4ED8;
}
.wl-badge-established {
    background: #F1F5F9;
    color: #475569;
}
.wl-badge-mature {
    background: #F3F4F6;
    color: #6B7280;
}

/* ===========================
   Pagination
   =========================== */
.wl-pagination {
    display: flex;
    gap: 5px;
    padding: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--wl-border);
}

.wl-page-link,
.wl-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--wl-text);
    transition: all .15s;
    font-weight: 500;
}
.wl-page-current {
    background: var(--wl-primary);
    color: #fff !important;
    border-color: var(--wl-primary);
    font-weight: 700;
}
.wl-page-link:hover {
    background: var(--wl-bg);
    border-color: var(--wl-primary);
    color: var(--wl-primary);
}

/* ===========================
   Lead Detail
   =========================== */
.wl-detail-header {
    background: linear-gradient(135deg, var(--wl-primary) 0%, #2547A1 100%);
    color: #fff;
    border-radius: var(--wl-radius);
    padding: 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(27,45,107,.22);
}
.wl-detail-company {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.2;
    color: #fff !important;
}
.wl-detail-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,.86);
    opacity: 1;
    margin: 0;
}
.wl-detail-badge-wrap .wl-badge-verified {
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
}
.wl-detail-badge-wrap .wl-badge-verified::before { display: none; }

.wl-badge-large {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.wl-badge-soft-light {
    backdrop-filter: blur(12px);
}

.wl-badge-ghost-light {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.26);
}

.wl-detail-card {
    background: var(--wl-white);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    overflow: hidden;
    box-shadow: var(--wl-shadow-sm);
    margin-bottom: 20px;
}

.wl-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: -6px 0 24px;
}

.wl-detail-actions--primary {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    width: fit-content;
    max-width: 100%;
}

.wl-action-pill--primary {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5ff 100%);
    border-color: rgba(27, 45, 107, 0.18);
}

.wl-unlock-resource-intro,
.wl-detail-section-label {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wl-muted);
}

.wl-member-page__hero-inner--lead-detail {
    position: relative;
}

.wl-member-page__hero-inner--lead-detail::after {
    content: "";
    position: absolute;
    right: -4%;
    top: 44%;
    transform: translateY(-50%);
    width: clamp(100px, 26vw, 220px);
    height: clamp(100px, 26vw, 220px);
    opacity: 0.06;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3z'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}

.wl-detail-header__main {
    min-width: 0;
}

.wl-detail-sub--meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

.wl-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wl-detail-meta-ic {
    font-size: 0.95em;
    line-height: 1;
    opacity: 0.88;
}

.wl-detail-meta-dot {
    opacity: 0.55;
    font-weight: 700;
}

.wl-badge-check {
    margin-right: 7px;
    font-weight: 800;
}

.wl-detail-fields {
    padding: 0;
}

.wl-detail-card--contact .wl-detail-field,
.wl-detail-card--business .wl-detail-field {
    display: flex;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--wl-border);
    align-items: flex-start;
}

.wl-detail-card--contact .wl-detail-field:last-child,
.wl-detail-card--business .wl-detail-field:last-child {
    border-bottom: none;
}

.wl-detail-field__ic {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 38px;
    text-align: center;
}

.wl-detail-field__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wl-detail-field__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wl-muted);
}

.wl-detail-field__value {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--wl-primary);
    word-break: break-word;
}

.wl-detail-field__value a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.wl-detail-field__value a:hover {
    text-decoration: underline;
}

.wl-empty-dash {
    color: var(--wl-muted);
    font-weight: 500;
}

.wl-detail-fields--business {
    padding-bottom: 4px;
}

.wl-detail-field--inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.wl-detail-field--inline .wl-detail-field__label {
    margin-bottom: 0;
}

.wl-detail-field--inline .wl-detail-field__value {
    text-align: right;
    flex-shrink: 0;
}

.wl-detail-field--stack {
    flex-direction: column;
    align-items: stretch;
}

.wl-detail-field__value--multiline {
    font-weight: 500;
    color: var(--wl-text);
    line-height: 1.55;
}

.wl-detail-field--verified {
    padding-top: 18px;
    padding-bottom: 18px;
}

.wl-lead-detail-trust {
    margin: 28px 0 0;
    padding: 14px 18px;
    border-radius: var(--wl-radius);
    background: linear-gradient(180deg, rgba(27, 45, 107, 0.06) 0%, rgba(241, 245, 249, 0.95) 100%);
    border: 1px solid rgba(27, 45, 107, 0.1);
    font-size: 0.87rem;
    color: var(--wl-muted);
    line-height: 1.5;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.wl-lead-detail-trust__ic {
    flex-shrink: 0;
    font-size: 1.05rem;
    opacity: 0.85;
}

.wl-action-pill__ic {
    margin-right: 8px;
    font-size: 1.05em;
    line-height: 1;
}

.wl-detail-actions--with-icons .wl-action-pill {
    gap: 0;
}

@media (max-width: 640px) {
    .wl-member-page__hero-inner--lead-detail::after {
        opacity: 0.04;
        right: -8%;
    }

    .wl-detail-field--inline {
        flex-wrap: wrap;
    }

    .wl-detail-field--inline .wl-detail-field__value {
        text-align: left;
        width: 100%;
    }
}

@media (min-width: 641px) {
    .wl-member-page--lead-detail .wl-member-page__body {
        padding-top: 12px;
        padding-bottom: 40px;
    }

    .wl-member-page--lead-detail .wl-lead-detail {
        max-width: none;
        width: 100%;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .wl-member-page--lead-detail .wl-detail-actions {
        margin: 0 0 10px;
    }

    .wl-member-page--lead-detail .wl-detail-actions--primary .wl-action-pill {
        width: auto;
        min-width: 132px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .wl-member-page--lead-detail .wl-unlock-resource-intro,
    .wl-member-page--lead-detail .wl-detail-section-label {
        margin-bottom: 8px;
    }

    .wl-member-page--lead-detail .wl-unlock-resource-card {
        max-width: 100%;
        margin: 0 0 14px;
        gap: 12px;
    }

    .wl-member-page--lead-detail .wl-resource-tile {
        padding: 12px 16px;
        min-height: 60px;
        border-radius: 14px;
    }

    .wl-member-page--lead-detail .wl-detail-grid {
        gap: 14px;
        align-items: stretch;
    }

    .wl-member-page--lead-detail .wl-detail-card {
        margin-bottom: 0;
    }
}

.wl-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(27,45,107,.1);
    color: var(--wl-primary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.wl-action-pill:hover {
    background: var(--wl-primary);
    color: #fff;
}

.wl-unlock-resource-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 24px;
}

@media (min-width: 560px) {
    .wl-unlock-resource-card {
        grid-template-columns: 1fr 1fr;
    }
}

.wl-resource-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: var(--wl-radius);
    border: 1px solid var(--wl-border);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    text-decoration: none !important;
    color: var(--wl-text);
    box-shadow: var(--wl-shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.wl-resource-tile:hover {
    border-color: rgba(27, 45, 107, 0.28);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.wl-resource-tile__icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.wl-resource-tile__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wl-resource-tile__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wl-muted);
}

.wl-resource-tile__url {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wl-primary);
    word-break: break-word;
}

.wl-resource-tile__chev {
    flex-shrink: 0;
    color: var(--wl-muted);
    font-size: 1rem;
}

.wl-resource-tile--map .wl-resource-tile__url {
    color: #0f766e;
}

@media (max-width: 640px) {
    .wl-member-page--lead-detail .wl-unlock-resource-card {
        gap: 14px;
        margin: 0 -4px 22px;
        padding: 0 2px;
    }

    .wl-member-page--lead-detail .wl-resource-tile {
        min-height: 72px;
        padding: 16px 18px;
        border-radius: 18px;
        border: 1px solid rgba(27, 45, 107, 0.1);
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
        align-items: center;
    }

    .wl-member-page--lead-detail .wl-resource-tile__icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(27, 45, 107, 0.08);
        font-size: 1.4rem;
    }

    .wl-member-page--lead-detail .wl-resource-tile--map .wl-resource-tile__icon {
        background: rgba(15, 118, 110, 0.12);
    }

    .wl-member-page--lead-detail .wl-resource-tile__label {
        font-size: 0.68rem;
    }

    .wl-member-page--lead-detail .wl-resource-tile__url {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .wl-member-page--lead-detail .wl-detail-actions--primary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        margin-bottom: 18px;
    }

    .wl-member-page--lead-detail .wl-detail-company {
        font-size: clamp(1.35rem, 5vw, 1.65rem);
        line-height: 1.2;
    }

    .wl-member-page--lead-detail .wl-detail-sub {
        font-size: 0.9rem;
        line-height: 1.45;
    }
}

.wl-col-links {
    white-space: nowrap;
    width: 1%;
}

.wl-lead-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wl-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid rgba(27, 45, 107, 0.12);
    background: #fff;
    color: var(--wl-primary);
    min-height: 36px;
}

.wl-quicklink:hover {
    background: var(--wl-primary);
    color: #fff;
    border-color: var(--wl-primary);
}

.wl-quicklink--map {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.25);
}

.wl-quicklink--map:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

/* Folded map icon (replaces red pin emoji); follows currentColor */
.wl-icon-map {
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
    vertical-align: -0.12em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.wl-resource-tile__icon--map-ic .wl-icon-map {
    width: 1.35em;
    height: 1.35em;
    vertical-align: middle;
}

.wl-quicklink-muted {
    color: var(--wl-muted);
    font-size: 0.9rem;
    opacity: 0.75;
}

@media (max-width: 640px) {
    .wl-quicklink__txt {
        display: none;
    }
    .wl-quicklink {
        padding: 8px 12px;
        min-width: 44px;
        justify-content: center;
    }
}
.wl-detail-card-header {
    padding: 13px 24px;
    border-bottom: 1px solid var(--wl-border);
    background: var(--wl-bg);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--wl-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.wl-detail-table {
    width: 100%;
    border-collapse: collapse;
}
.wl-detail-table th,
.wl-detail-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--wl-border);
    font-size: 0.9rem;
    text-align: left;
}
.wl-detail-table tr:last-child th,
.wl-detail-table tr:last-child td { border-bottom: none; }
.wl-detail-table th {
    width: 160px;
    color: var(--wl-muted);
    font-weight: 600;
    background: #FAFBFD;
}
.wl-detail-table td {
    color: var(--wl-text);
    font-weight: 500;
}
.wl-detail-table td a { color: var(--wl-primary); text-decoration: none; }
.wl-detail-table td a:hover { text-decoration: underline; }

/* ===========================
   Back Link
   =========================== */
.wl-back-link { margin-top: 24px; }

/* Prevent the first block on shorter member pages from creating a fake top gap. */
.wl-leads-table-wrapper > :first-child,
.wl-lead-detail > :first-child,
.wl-account-container > :first-child {
    margin-top: 0;
}

.wl-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wl-primary);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap .15s;
}
.wl-back-link a:hover { gap: 10px; }

/* ===========================
   Access Denied
   =========================== */
.wl-access-denied {
    background: var(--wl-white);
    border: 2px solid var(--wl-border);
    border-radius: var(--wl-radius);
    padding: 48px 32px;
    text-align: center;
    max-width: 480px;
    margin: 60px auto;
    box-shadow: var(--wl-shadow);
    font-family: var(--wl-font);
}
.wl-lock { font-size: 2.8rem; display: block; margin-bottom: 16px; }
.wl-access-denied h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--wl-text); }
.wl-access-denied p { color: var(--wl-muted); margin: 0 0 24px; font-size: 0.95rem; }

/* ===========================
   Empty State
   =========================== */
.wl-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--wl-muted);
    font-size: 0.95rem;
}

.wl-recent-leads .wl-empty {
    background: var(--wl-white);
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius);
    box-shadow: var(--wl-shadow-sm);
}

.wl-split-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 18px;
    margin-bottom: 22px;
}

.wl-split-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid rgba(27,45,107,.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.wl-value-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wl-value-list li {
    position: relative;
    padding-left: 28px;
    color: var(--wl-text);
    font-size: 0.92rem;
    line-height: 1.65;
}

.wl-value-list li + li {
    margin-top: 14px;
}

/* ===========================
   Authentication Styles
   =========================== */

/*
 * Astra compatibility: when Astra is in full-width-container mode the
 * .ast-container still has its own max-width. Override that for WL auth pages
 * so the section background truly spans full width.
 */
body.ast-full-width-layout .wl-auth-container,
body.ast-no-sidebar .wl-auth-container,
.elementor-template-full-width .wl-auth-container,
.elementor-template-canvas .wl-auth-container {
    padding: 0 20px;
}

/* Remove Astra's article/entry padding that adds unwanted whitespace */
body.ast-no-sidebar .ast-article-single,
.elementor-template-full-width .ast-article-single,
.elementor-template-canvas .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Astra's entry-content max-width constraint */
body.ast-full-width-layout .entry-content,
body.ast-no-sidebar .entry-content,
.elementor-template-full-width .entry-content,
.elementor-template-canvas .entry-content {
    max-width: none !important;
}

/* Remove Astra top gap before plugin member pages. */
body.wl-page-member #primary,
body.wl-page-member.ast-separate-container #primary,
body.wl-page-member.ast-plain-container #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.wl-page-member .site-content > .ast-container,
body.wl-page-plugin .site-content > .ast-container {
    padding-top: 0 !important;
}


/* Elementor container templates add a 100px top margin on the first parent container.
   This creates the visible gap under masthead on member pages. */
body.wl-page-member .site-content .elementor > .e-parent {
    margin-top: 0 !important;
}

/* Dashboard-only: Elementor inner container still adds 10px top padding. */
body.wl-page-member.elementor-page-154 .site-content .elementor > .e-parent > .e-con-inner {
    padding-top: 0 !important;
}

/* Canvas page body — give the auth page a subtle bg colour */
.elementor-template-canvas body,
body.wl-page-auth {
    background: #F4F6FB;
}

.wl-auth-container {
    max-width: 520px;
    margin: 48px auto;
    padding: 0 20px;
}

.wl-auth-card {
    background: var(--wl-white);
    border-radius: 18px;
    box-shadow: 0 12px 50px rgba(27,45,107,0.15), 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid rgba(27,45,107,0.1);
}

.wl-auth-header {
    background: linear-gradient(135deg, #1B2D6B 0%, #2d48b0 100%);
    padding: 36px 40px 30px;
    text-align: center;
    position: relative;
}

.wl-auth-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.wl-auth-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9500 0%, #ffb340 50%, #FF9500 100%);
}

.wl-auth-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}

.wl-auth-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    position: relative;
}

.wl-auth-header p {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    margin: 0;
    position: relative;
}

.wl-auth-header p a {
    color: #ffb340;
    font-weight: 600;
    text-decoration: none;
}

.wl-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px 40px;
}

.wl-auth-footer {
    text-align: center;
    padding: 20px 40px 28px;
    border-top: 1px solid var(--wl-border);
}

.wl-auth-footer p {
    color: var(--wl-muted);
    margin: 0;
    font-size: 0.92rem;
}

.wl-auth-footer a {
    color: var(--wl-primary);
    font-weight: 600;
    text-decoration: none;
}

.wl-auth-footer a:hover {
    text-decoration: underline;
}

/* ===========================
   Form Elements
   =========================== */
.wl-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wl-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-form-group label .required {
    color: #EF4444;
}

.wl-form-group input,
.wl-form-group select,
.wl-form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--wl-border);
    border-radius: 8px;
    font-size: 0.97rem;
    font-family: var(--wl-font);
    color: var(--wl-text);
    background: #FAFBFF;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.wl-form-group select {
    min-height: 46px;
    line-height: 1.35;
    text-overflow: ellipsis;
    cursor: pointer;
}

.wl-form-group input:focus,
.wl-form-group select:focus,
.wl-form-group textarea:focus {
    outline: none;
    border-color: var(--wl-primary);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(27, 45, 107, 0.12);
}

.wl-form-group input::placeholder {
    color: #b0b8cc;
}

.wl-form-group small {
    font-size: 0.8rem;
    color: var(--wl-muted);
}

.wl-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wl-form-row-2col > .wl-form-group {
    flex: 1;
    min-width: 140px;
}

.wl-form-row-between {
    justify-content: space-between;
    align-items: center;
}

.wl-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--wl-text);
    cursor: pointer;
}

.wl-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--wl-primary);
}

.wl-form-actions {
    margin-top: 8px;
}

/* Input with prefix icon */
.wl-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.wl-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0abbe;
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.wl-input-wrap input,
.wl-input-wrap select {
    padding-left: 42px !important;
}

.wl-input-wrap .wl-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #a0abbe;
    line-height: 1;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.2s;
}

.wl-input-wrap .wl-pwd-toggle:hover {
    color: var(--wl-primary);
}

/* Password strength indicator */
.wl-strength-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--wl-border);
    overflow: hidden;
    margin-top: 8px;
}

.wl-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 0.35s ease, background-color 0.35s ease;
    background: #EF4444;
}

.wl-strength-label {
    font-size: 0.78rem;
    color: var(--wl-muted);
    margin-top: 4px;
    display: block;
}

.wl-forgot-link {
    font-size: 0.9rem;
    color: var(--wl-primary);
    text-decoration: none;
}

.wl-forgot-link:hover {
    text-decoration: underline;
}

/* ===========================
   Notices
   =========================== */
.wl-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--wl-radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.wl-notice-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.wl-notice-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

.wl-notice-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.wl-notice-info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.wl-text-center {
    text-align: center;
}

/* ===========================
   Buttons
   =========================== */
.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--wl-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--wl-font);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.wl-btn-primary {
    background: linear-gradient(135deg, #1B2D6B 0%, #2a42a5 100%);
    color: var(--wl-white);
    letter-spacing: 0.02em;
}

.wl-btn-primary:hover {
    background: linear-gradient(135deg, #131f4f 0%, #1B2D6B 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27,45,107,0.35);
    color: #fff;
}

.wl-btn-secondary {
    background: var(--wl-bg);
    color: var(--wl-text);
    border: 1px solid var(--wl-border);
}

.wl-btn-secondary:hover {
    background: var(--wl-border);
}

.wl-btn-outline-danger {
    background: transparent;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.wl-btn-outline-danger:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.wl-btn-block {
    width: 100%;
}

.wl-btn-disabled {
    background: var(--wl-bg);
    color: var(--wl-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===========================
   Account Page
   =========================== */
.wl-account-container {
    max-width: 1180px;
    margin: 26px auto 44px;
    padding: 0 20px;
}

.wl-account-hero {
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1B2D6B 0%, #131f4f 100%) !important;
    border-color: rgba(255,255,255,.1) !important;
}

.wl-account-hero .wl-kicker {
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
}

.wl-account-hero .wl-hero-title,
.wl-account-hero .wl-hero-title-sm {
    color: #ffffff;
}

.wl-account-hero .wl-hero-text {
    color: rgba(255,255,255,.78);
}

.wl-account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

.wl-account-grid--billing {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Billing page — 2-col SaaS layout: subscription (left) + payment history (right) */
.wl-billing-page-wrap {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 20px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}
.wl-billing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .wl-billing-layout {
        grid-template-columns: 1fr;
    }
    .wl-billing-page-wrap {
        padding: 16px 14px 20px;
    }
}
.wl-member-page--billing .wl-account-container {
    max-width: 1180px;
}
.wl-billing-layout .wl-subscription-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    scroll-margin-top: 100px;
}
.wl-billing-layout .wl-payment-history-card--compact {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: auto;
    align-self: start;
    background: #fff;
}
.wl-billing-layout .wl-payment-history-card--compact .wl-card-header {
    padding: 18px 20px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.wl-billing-layout .wl-payment-history-card--compact .wl-ph-header-caption {
    max-width: 420px;
    font-size: 0.8125rem;
    color: #64748b;
}
.wl-ph-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wl-payment-history-card--compact .wl-ph-table {
    width: 100%;
    min-width: 540px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}
.wl-payment-history-card--compact .wl-ph-table thead tr {
    background: #f8fafc;
}
.wl-payment-history-card--compact .wl-ph-table th {
    padding: 11px 14px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
.wl-payment-history-card--compact .wl-ph-table th:first-child {
    border-left: 1px solid #e2e8f0;
}
.wl-payment-history-card--compact .wl-ph-table th:last-child {
    border-right: 1px solid #e2e8f0;
}
.wl-payment-history-card--compact .wl-ph-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    vertical-align: middle;
}
.wl-payment-history-card--compact .wl-ph-table tbody tr {
    background: #fff;
    transition: background-color .16s ease;
}
.wl-payment-history-card--compact .wl-ph-table tbody tr:hover {
    background: #f8fbff;
}
.wl-payment-history-card--compact .wl-ph-table tbody tr:last-child td {
    border-bottom: none;
}
.wl-ph-date {
    color: #475569;
    white-space: nowrap;
}
.wl-ph-plan {
    color: #0f172a;
    font-weight: 700;
}
.wl-ph-amount strong {
    display: block;
    color: #0f172a;
    font-weight: 700;
}
.wl-ph-amount span {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.wl-ph-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}
.wl-ph-status.is-paid {
    background: #dcfce7;
    color: #166534;
}
.wl-ph-status.is-pending {
    background: #fef9c3;
    color: #854d0e;
}
.wl-ph-invoice code {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.74rem;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}
.wl-ph-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    color: #64748b;
    font-size: 0.875rem;
}
.wl-ph-empty p {
    margin: 0;
}
.wl-ph-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2f5bff;
    font-weight: 800;
}
.wl-billing-layout .wl-payment-history-card--compact .wl-ph-footnote {
    padding: 10px 14px 12px;
    background: #fafbfc;
}
@media (max-width: 640px) {
    .wl-payment-history-card--compact {
        overflow: hidden;
    }
    .wl-payment-history-card--compact .wl-ph-table-wrap {
        overflow: visible;
        padding: 14px;
        background: #fff;
    }
    .wl-payment-history-card--compact .wl-ph-table {
        min-width: 0;
    }
    .wl-payment-history-card--compact .wl-ph-table thead {
        display: none;
    }
    .wl-payment-history-card--compact .wl-ph-table,
    .wl-payment-history-card--compact .wl-ph-table tbody,
    .wl-payment-history-card--compact .wl-ph-table tr,
    .wl-payment-history-card--compact .wl-ph-table td {
        display: block;
        width: 100%;
    }
    .wl-payment-history-card--compact .wl-ph-table tr {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "date status"
            "plan plan"
            "amount amount"
            "invoice invoice";
        row-gap: 9px;
        padding: 4px 0 0;
        border: 0;
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
        box-sizing: border-box;
    }
    .wl-payment-history-card--compact .wl-ph-table tr:last-child {
        border-bottom: 0;
    }
    .wl-payment-history-card--compact .wl-ph-table td {
        padding: 0;
        border-bottom: none;
        box-sizing: border-box;
        text-align: left;
    }
    .wl-payment-history-card--compact .wl-ph-table td::before {
        display: block;
        margin-bottom: 3px;
        color: #64748b;
        content: attr(data-label);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        text-align: left;
    }
    .wl-ph-date { grid-area: date; }
    .wl-payment-history-card--compact .wl-ph-table .wl-ph-date::before,
    .wl-payment-history-card--compact .wl-ph-table .wl-ph-status-cell::before {
        display: none;
    }
    .wl-payment-history-card--compact .wl-ph-date {
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .wl-payment-history-card--compact .wl-ph-table .wl-ph-status-cell {
        grid-area: status;
        text-align: right;
    }
    .wl-ph-plan { grid-area: plan; }
    .wl-ph-plan {
        color: #0f172a;
        font-size: 1rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .wl-ph-amount {
        grid-area: amount;
        display: flex !important;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding-top: 4px !important;
        border-top: 0 !important;
    }
    .wl-ph-amount::before {
        margin-bottom: 0 !important;
    }
    .wl-ph-amount strong,
    .wl-ph-amount span {
        display: inline;
    }
    .wl-ph-amount strong {
        margin-left: auto;
        font-size: 1rem;
    }
    .wl-ph-amount span {
        margin-left: 6px;
    }
    .wl-ph-status {
        min-width: 48px;
        padding: 4px 9px;
    }
    .wl-ph-invoice {
        grid-area: invoice;
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        min-width: 0;
        padding-top: 2px !important;
        border-top: 0 !important;
    }
    .wl-ph-invoice::before {
        flex: 0 0 auto;
        margin-bottom: 0 !important;
    }
    .wl-ph-invoice code {
        display: block;
        max-width: none;
        min-width: 0;
        flex: 1 1 auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #475569;
        text-align: right;
    }
}

/* Payment History redesign: soft list cards, no table grid/divider treatment */
.wl-payment-history-card--compact .wl-ph-list {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff;
}
.wl-payment-history-card--compact .wl-ph-item {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.wl-payment-history-card--compact .wl-ph-item__top,
.wl-payment-history-card--compact .wl-ph-item__main,
.wl-payment-history-card--compact .wl-ph-invoice {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.wl-payment-history-card--compact .wl-ph-date {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}
.wl-payment-history-card--compact .wl-ph-label {
    display: block;
    margin: 0 0 3px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
.wl-payment-history-card--compact .wl-ph-plan-wrap {
    min-width: 0;
}
.wl-payment-history-card--compact .wl-ph-plan {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.wl-payment-history-card--compact .wl-ph-amount {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 0 !important;
    border: 0 !important;
    text-align: right;
}
.wl-payment-history-card--compact .wl-ph-amount strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
}
.wl-payment-history-card--compact .wl-ph-amount span {
    display: block;
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.wl-payment-history-card--compact .wl-ph-invoice code {
    display: block;
    min-width: 0;
    max-width: 210px;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.72rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .wl-payment-history-card--compact .wl-ph-list {
        padding: 14px;
    }
    .wl-payment-history-card--compact .wl-ph-item {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        border-radius: 14px;
        background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
    }
    .wl-payment-history-card--compact .wl-ph-item__top {
        display: flex !important;
        width: 100%;
    }
    .wl-payment-history-card--compact .wl-ph-item__main {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
        width: 100%;
    }
    .wl-payment-history-card--compact .wl-ph-plan-wrap {
        width: 100%;
    }
    .wl-payment-history-card--compact .wl-ph-label {
        white-space: nowrap;
    }
    .wl-payment-history-card--compact .wl-ph-plan {
        max-width: 100%;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .wl-payment-history-card--compact .wl-ph-amount {
        display: flex !important;
        align-items: baseline;
        justify-content: space-between;
        width: 100%;
        min-width: 0;
        text-align: left;
    }
    .wl-payment-history-card--compact .wl-ph-amount strong {
        margin-left: auto;
    }
    .wl-payment-history-card--compact .wl-ph-amount span {
        margin-left: 8px;
    }
    .wl-payment-history-card--compact .wl-ph-invoice {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }
    .wl-payment-history-card--compact .wl-ph-invoice code {
        max-width: 58%;
        flex: 0 1 auto;
    }
}

.wl-billing-plan-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.wl-billing-plan-highlight__line,
.wl-billing-plan-highlight__save {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #1e293b;
}
.wl-billing-plan-highlight__save {
    margin-bottom: 0;
    font-weight: 600;
    color: #166534;
}
.wl-billing-plan-highlight__line:last-child,
.wl-billing-plan-highlight__save:last-child {
    margin-bottom: 0;
}
.wl-billing-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.wl-btn-wl-upgrade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2f5bff !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
}
.wl-btn-wl-upgrade:hover {
    background: #1e46d9 !important;
    color: #fff !important;
}
.wl-billing-card-actions .wl-btn-outline,
.wl-billing-card-actions .wl-btn-secondary {
    border-color: #cbd5e1;
    color: #334155;
}
.wl-billing-summary-card .wl-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

@media (max-width: 768px) {
    .wl-account-grid {
        grid-template-columns: 1fr;
    }
}

.wl-account-card {
    background: var(--wl-white);
    border-radius: var(--wl-radius);
    box-shadow: var(--wl-shadow-sm);
    border: 1px solid var(--wl-border);
    overflow: hidden;
    height: 100%;
}

.wl-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--wl-border);
    background: var(--wl-bg);
}

.wl-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-card-body {
    padding: 24px;
}

/* Payment History — emphasize plan/amount table; discreet cancel in footnote */
.wl-ph-card-header.wl-card-header {
    padding-bottom: 18px;
}
.wl-ph-card-header-text h3 {
    margin: 0 0 8px;
}
.wl-ph-header-caption {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 400;
}
.wl-ph-footnote {
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    padding: 14px 24px 17px;
}
.wl-ph-footnote-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #94a3b8;
}
.wl-ph-cancel-sub {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
    font-weight: 500;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(100, 116, 139, 0.4);
    text-underline-offset: 2px;
    vertical-align: baseline;
}
.wl-ph-cancel-sub:hover {
    color: #475569;
    text-decoration-color: rgba(71, 85, 105, 0.65);
}

/* Subscription Card */
.wl-subscription-status {
    padding: 20px;
    border-radius: var(--wl-radius-sm);
    margin-bottom: 20px;
}

.wl-status-pending,
.wl-status-inactive {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
}

.wl-status-active {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
}

.wl-status-cancelled,
.wl-status-expired {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.wl-status-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.wl-status-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.wl-status-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--wl-muted);
}

.wl-plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wl-plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.wl-badge-active {
    background: #DCF7E3;
    color: #166534;
}

.wl-badge-cancelled,
.wl-badge-expired {
    background: #FEE2E2;
    color: #B91C1C;
}

.wl-badge-past_due {
    background: #FEF3C7;
    color: #B45309;
}

.wl-badge-scheduled {
    background: #FEF9C3;
    color: #854D0E;
}

.wl-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.wl-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wl-text);
}

.wl-price-period {
    color: var(--wl-muted);
    font-size: 0.95rem;
}

.wl-subscription-details {
    border-top: 1px solid var(--wl-border);
    padding-top: 16px;
}

.wl-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.wl-detail-label {
    color: var(--wl-muted);
    font-size: 0.9rem;
}

.wl-detail-value {
    font-weight: 600;
    color: var(--wl-text);
    font-size: 0.9rem;
}

.wl-subscription-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.wl-subscription-actions--stack {
    flex-direction: column;
    align-items: stretch;
}

/* Stats Card */
.wl-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.wl-stat-item {
    text-align: left;
    padding: 16px 14px;
    background: linear-gradient(180deg, #F8FAFD 0%, #F1F5FA 100%);
    border: 1px solid #E8EDF5;
    border-radius: 12px;
}

.wl-stat-value {
    display: block;
    font-size: 1.72rem;
    font-weight: 800;
    color: var(--wl-primary);
    line-height: 1;
    margin-bottom: 7px;
}

.wl-stat-label {
    font-size: 0.85rem;
    color: var(--wl-muted);
}

.wl-progress-bar {
    height: 8px;
    background: var(--wl-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.wl-progress-fill {
    height: 100%;
    background: var(--wl-green);
    transition: width 0.3s;
}

.wl-progress-text {
    font-size: 0.85rem;
    color: var(--wl-muted);
    text-align: center;
    margin: 0 0 16px;
}

.wl-progress-text-soft {
    text-align: left;
    margin: -2px 0 14px;
}

/* Profile Form */
.wl-profile-form,
.wl-password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wl-account-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--wl-border);
}
.wl-account-footer .wl-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #dc2626;
    color: #dc2626 !important;
    background: transparent;
    letter-spacing: .02em;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wl-account-footer .wl-btn-outline:hover {
    background: #dc2626;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(220,38,38,.22);
    transform: translateY(-1px);
}

/* ===========================
   Pricing Page
   =========================== */
/* ===========================
   Pricing Section (wl_pricing shortcode)
   =========================== */

.wl-pricing-section {
    background: transparent;
    padding: 72px 20px 80px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.site-content .wl-pricing-section,
.site-main .wl-pricing-section,
.entry-content .wl-pricing-section {
    flex: 1 1 100%;
    max-width: 100%;
}

.wl-pricing-section-inner {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    min-width: 0;
    box-sizing: border-box;
}

.wl-pricing-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--wl-primary, #1a2e4a);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wl-pricing-heading {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: #0f172a;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.wl-pricing-subheading {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.wl-pricing-notice {
    max-width: 560px;
    margin: 0 auto 28px;
}

.wl-pricing-footer-note {
    margin-top: 28px;
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* === Cards grid === */

.wl-pricing-cards {
    display: grid;
    /* Mobile / tablet: always one column until there is room for two (see 1280px+) */
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1280px) {
    .wl-pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    }
}

@media (max-width: 860px) {
    .wl-pricing-cards {
        max-width: 100%;
        gap: 20px;
    }
}

/* === Individual card === */

.wl-pc {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    text-align: left;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.wl-pc:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

/* Popular / featured card — dark navy */
.wl-pc--popular {
    background: #1a2d5a;
    border-color: #1a2d5a;
    color: #fff;
    padding-top: 44px;           /* extra space for the badge */
    z-index: 1;
    box-shadow: 0 16px 48px rgba(26,45,90,.35);
    transform: translateY(-10px) scale(1.02);
}

.wl-pc--popular:hover {
    transform: translateY(-14px) scale(1.02);
}

@media (max-width: 860px) {
    .wl-pc--popular {
        transform: translateY(-4px);
    }

    .wl-pc--popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .wl-pc,
    .wl-pc--popular {
        max-width: 100%;
    }

    .wl-pc {
        padding: 28px 22px 24px;
    }

    .wl-pc--popular {
        padding-top: 40px;
        transform: none;
    }

    .wl-pc--popular:hover {
        transform: translateY(-4px);
    }
}

.wl-pc--current {
    border: 2px solid var(--wl-green, #22c55e);
}

/* === Badge === */

.wl-pc__badge {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #fde047;
    color: #713f12;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wl-pc__badge--current {
    background: var(--wl-green, #22c55e);
    color: #fff;
}

/* === Plan label (e.g. STARTER) === */

.wl-pc__label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.wl-pc--popular .wl-pc__label {
    color: rgba(255,255,255,.55);
}

.wl-pc__commitment {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}

.wl-pc--popular .wl-pc__commitment {
    background: rgba(255,255,255,.12);
    color: #dbeafe;
}

/* === Price === */

.wl-pc__price-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1;
    margin-bottom: 4px;
    gap: 2px;
}

.wl-pc__currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    padding-top: 6px;
    margin-right: 2px;
}

.wl-pc--popular .wl-pc__currency {
    color: #fff;
}

.wl-pc__amount {
    font-family: 'DM Serif Display', serif;
    font-size: 3.4rem;
    font-weight: 400;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.wl-pc--popular .wl-pc__amount {
    color: #fff;
}

.wl-pc__period {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.wl-pc--popular .wl-pc__period {
    color: rgba(255,255,255,.55);
}

.wl-pc__desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 18px;
    line-height: 1.55;
    max-width: 28ch;
}

.wl-pc--popular .wl-pc__desc {
    color: rgba(255,255,255,.72);
}

/* === Divider === */

.wl-pc__divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0 0 18px;
}

.wl-pc--popular .wl-pc__divider {
    border-top-color: rgba(255,255,255,.15);
}

/* === Feature list === */

.wl-pc__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
    text-align: left;
}

.wl-pc__feat {
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 0;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.4;
}

.wl-pc--popular .wl-pc__feat {
    color: rgba(255,255,255,.85);
}

.wl-pc__feat--off {
    color: #94a3b8;
}

.wl-pc--popular .wl-pc__feat--off {
    color: rgba(255,255,255,.3);
}

.wl-pc__feat-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.wl-pc__feat--on .wl-pc__feat-icon {
    color: #22c55e;
}

.wl-pc--popular .wl-pc__feat--on .wl-pc__feat-icon {
    color: #86efac;
}

.wl-pc__feat--off .wl-pc__feat-icon {
    color: #cbd5e1;
}

/* === CTA buttons inside cards === */

.wl-pc__footer {
    margin-top: auto;
    padding-top: 8px;
}

.wl-pc__btn {
    font-family: 'DM Sans', sans-serif;
    display: block;
    width: 100%;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
    box-sizing: border-box;
}

/* Outline button (standard cards) */
.wl-pc__btn--outline {
    background: transparent;
    border: 2px solid #cbd5e1;
    color: #1a2d5a;
}

.wl-pc__btn--outline:hover {
    border-color: #1a2d5a;
    background: #f8fafc;
    color: #1a2d5a;
}

/* Featured / yellow button (popular card) — enforce visibility */
.wl-pc__btn--featured {
    background: #fde047 !important;
    border: 2px solid #fde047 !important;
    color: #1a2d5a !important;
}

.wl-pc__btn--featured:hover {
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #1a2d5a !important;
}

/* Outline button inside popular card: make text white so it's visible on dark bg */
.wl-pc--popular .wl-pc__btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

.wl-pc--popular .wl-pc__btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

/* Disabled state */
.wl-pc__btn--disabled {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.wl-pc__msg {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}

.wl-pc--popular .wl-pc__msg {
    color: rgba(255,255,255,.5);
}

/* ===========================
   Checkout Page (wl_checkout shortcode)
   =========================== */

.wl-checkout-page {
    max-width: 980px;
    margin: 48px auto;
    padding: 0 20px 60px;
}

.wl-checkout-error {
    text-align: center;
    padding: 60px 20px;
}

.wl-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

@media (min-width: 1280px) {
    .wl-checkout-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

/* === Plan summary (left) === */

.wl-checkout-summary {
    background: #1a2d5a;
    border-radius: 16px;
    padding: 32px 30px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.wl-checkout-summary__back {
    margin: 0 0 20px;
}

.wl-checkout-summary__back a {
    color: rgba(255,255,255,.55);
    font-size: 0.85rem;
    text-decoration: none;
}

.wl-checkout-summary__back a:hover {
    color: #fff;
}

.wl-checkout-summary__tier {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wl-checkout-summary__price-row {
    display: flex;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 4px;
}

.wl-checkout-summary__currency {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 5px;
    margin-right: 2px;
    color: #fff;
}

.wl-checkout-summary__amount {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
}

.wl-checkout-summary__period {
    font-size: 0.82rem;
    color: rgba(255,255,255,.5);
    margin: 0 0 16px;
}

.wl-checkout-summary__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,.65);
    margin: 0 0 16px;
    line-height: 1.5;
}

.wl-checkout-summary__divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.15);
    margin: 0 0 18px;
}

.wl-checkout-summary__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.wl-checkout-summary__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,.8);
}

.wl-checkout-check {
    color: #86efac;
    font-weight: 700;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.wl-checkout-summary__guarantee {
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === Action panel (right) === */

.wl-checkout-action {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
}

.wl-checkout-action__header {
    margin-bottom: 24px;
}

.wl-checkout-action__header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.wl-checkout-action__header p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

/* Order summary box */
.wl-checkout-order-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.wl-checkout-order-box hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 12px 0;
}

.wl-checkout-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    color: #475569;
}

.wl-checkout-order-row--total {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
}

.wl-checkout-order-price small {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: 2px;
}

/* Payment form */
.wl-checkout-payment-form {
    margin: 0;
}

.wl-checkout-stripe-note {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Login form inside checkout */
.wl-checkout-login-form .wl-form-group {
    margin-bottom: 16px;
}

.wl-checkout-forgot {
    float: right;
    font-size: 0.8rem;
    color: var(--wl-primary, #1a2e4a);
    text-decoration: none;
}

.wl-checkout-forgot:hover {
    text-decoration: underline;
}

/* Divider between sign-in and create account */
.wl-checkout-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #94a3b8;
    font-size: 0.82rem;
}

.wl-checkout-divider::before,
.wl-checkout-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid #e2e8f0;
}

/* Checkout shared buttons */
.wl-co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.wl-co-btn--block {
    display: flex;
    width: 100%;
}

.wl-co-btn--primary {
    background: #1a2d5a;
    border-color: #1a2d5a;
    color: #fff;
}

.wl-co-btn--primary:hover {
    background: #0f1e40;
    border-color: #0f1e40;
    color: #fff;
}

.wl-co-btn--outline {
    background: transparent;
    border: 2px solid #cbd5e1;
    color: #1a2d5a;
}

.wl-co-btn--outline:hover {
    border-color: #1a2d5a;
    background: #f8fafc;
    color: #1a2d5a;
}

.wl-value-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    top: 0;
    color: var(--wl-green);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ===========================
   Export Form Inline
   =========================== */
.wl-export-form { display: inline; }

/* ===========================
   Dashboard Hero Banner
   =========================== */
.wl-dash-hero {
    position: relative;
    display: block;
    background: linear-gradient(135deg, #1B2D6B 0%, #0d1a42 100%);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .25);
}

.wl-dash-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 68%);
    pointer-events: none;
}

.wl-dash-hero-left {
    position: relative;
    z-index: 1;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

/* Kicker pill: avoid flex stretch making the transparent chip full-width */
.wl-dash-hero-left .wl-kicker,
.wl-dash-hero-left .wl-kicker-light {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.wl-dash-hero-title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 14px 0 12px;
}

.wl-dash-hero-sub {
    color: rgba(255, 255, 255, .7);
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 44ch;
}

.wl-dash-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wl-btn-light {
    background: #fff;
    color: #1B2D6B !important;
    border-color: transparent;
}
.wl-btn-light:hover {
    background: #e8eef8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, .22);
}

.wl-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, .88) !important;
    border: 1.5px solid rgba(255, 255, 255, .32);
}
.wl-btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
    color: #fff !important;
}

/* Community / Facebook CTA — accent on dashboard hero */
.wl-btn-community {
    background: linear-gradient(135deg, var(--wl-accent) 0%, #e68600 100%);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 18px rgba(255, 149, 0, 0.38);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.wl-btn-community:hover {
    background: linear-gradient(135deg, #ffab2e 0%, var(--wl-accent) 100%);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(255, 149, 0, 0.48);
}
.wl-btn-community__icon {
    flex-shrink: 0;
    opacity: 0.95;
}
.wl-dash-hero-actions .wl-btn-community {
    position: relative;
    margin-left: auto;
    padding-left: 22px;
    padding-right: 20px;
}
.wl-dash-hero-actions .wl-btn-community::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.22);
}

/* ===========================
   Metric Cards Grid
   =========================== */
.wl-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.wl-metric-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    transition: transform .18s, box-shadow .18s;
}
.wl-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
}

.wl-metric-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.wl-icon-orange { background: #FFF7ED; }
.wl-icon-navy   { background: #EFF2FC; }
.wl-icon-indigo { background: #EEF2FF; }
.wl-icon-green  { background: #F0FDF4; }

.wl-metric-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wl-metric-num {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wl-num-orange { color: #D97706; }
.wl-num-navy   { color: #1B2D6B; }
.wl-num-indigo { color: #3730A3; }
.wl-num-green  { color: #16A34A; }

.wl-metric-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ===========================
   Panel (unified card)
   =========================== */
.wl-panel {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    margin-bottom: 28px;
}

.wl-account-hero .wl-hero-stats-chip-wrap {
    justify-content: flex-end;
}
.wl-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FAFBFF;
}

.wl-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 3px;
}

.wl-panel-sub {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
}

/* ===========================
   Leads Page Header
   =========================== */
.wl-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.wl-page-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1A1A2E;
    margin: 0 0 4px;
    letter-spacing: -0.025em;
}

.wl-page-sub {
    font-size: 0.87rem;
    color: #64748B;
    margin: 0;
}

.wl-page-header-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

/* ===========================
   Responsive — new components
   =========================== */
@media (max-width: 900px) {
    .wl-stats-row { grid-template-columns: repeat(2, 1fr); }
    .wl-hero-panel,
    .wl-hero-panel-compact,
    .wl-insight-grid,
    .wl-detail-grid,
    .wl-process-grid,
    .wl-split-band { grid-template-columns: 1fr; }
    .wl-hero-title-sm { max-width: none; }
    .wl-dash-hero { border-radius: 18px; }
    .wl-metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .wl-member-page {
        --wl-member-page-pad: 14px;
    }
    .wl-member-page__hero-inner {
        padding: 24px var(--wl-member-page-pad) 22px;
    }
    .wl-member-page__body {
        padding: 18px var(--wl-member-page-pad) 32px;
    }
    .wl-member-page__hero .wl-page-header,
    .wl-member-page__hero .wl-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .wl-member-page__hero .wl-page-header-chips {
        justify-content: flex-start;
    }
    .wl-member-page__hero .wl-dash-hero-actions {
        flex-direction: column;
    }
    .wl-member-page__hero .wl-btn-light,
    .wl-member-page__hero .wl-btn-ghost,
    .wl-member-page__hero .wl-btn-community {
        width: 100%;
        justify-content: center;
    }
    .wl-member-page__hero .wl-dash-hero-actions .wl-btn-community {
        margin-left: 0;
        padding-left: 20px;
    }
    .wl-member-page__hero .wl-dash-hero-actions .wl-btn-community::before {
        display: none;
    }
    .wl-dashboard,
    .wl-recent-leads { padding: 0 0 16px; }
    .wl-leads-table-wrapper,
    .wl-lead-detail { padding: 0 14px 16px; }
    .wl-account-container {
        margin: 12px auto 28px;
        padding: 0 14px 18px;
    }
    .wl-auth-container,
    .wl-checkout-page,
    .wl-access-denied {
        margin: 16px auto 28px;
    }
    .wl-auth-container,
    .wl-checkout-page {
        padding-left: 14px;
        padding-right: 14px;
    }
    .wl-checkout-page {
        padding-bottom: 40px;
    }
    .wl-access-denied {
        padding: 36px 20px;
    }
    .wl-pricing-section {
        padding: 32px 14px 48px;
    }
    .wl-account-grid { gap: 16px; }
    .wl-stat-grid { grid-template-columns: 1fr; }
    .wl-subscription-actions .wl-btn { width: 100%; }
    .wl-hero-panel,
    .wl-hero-panel-compact { padding: 24px 18px; border-radius: 22px; }
    .wl-table-meta { flex-direction: column; align-items: flex-start; padding: 18px; }
    .wl-table-meta-stats { justify-content: flex-start; }
    .wl-proof-row span,
    .wl-proof-chip { width: 100%; justify-content: center; }
        .wl-proof-chip-metric {
            min-height: 62px;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }
        .wl-proof-chip-metric small {
            font-size: 0.7rem;
        }
    .wl-leads-table thead { display: none; }
    .wl-leads-table,
    .wl-leads-table tbody { display: block; width: 100%; }
    .wl-leads-table tbody { padding: 12px; }
    .wl-leads-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
        border: 1px solid var(--wl-border);
        border-top: 2px solid var(--wl-primary);
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
        margin-bottom: 14px;
        padding: 14px 16px;
    }
    .wl-leads-table td {
        padding: 12px 0;
        font-size: 0.88rem;
        text-align: left;
        border-bottom: 1px solid var(--wl-border);
        width: auto;
        min-width: 0;
    }
    .wl-leads-table td:nth-child(1),
    .wl-leads-table td:nth-child(2),
    .wl-leads-table td:nth-child(7) { grid-column: 1 / -1; }
    .wl-leads-table tr > td:last-child { border-bottom: none; }
    .wl-leads-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--wl-muted);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .wl-leads-table .wl-company-cell strong { color: var(--wl-primary); }
}

/* ===========================
   Conversion Widgets
   =========================== */

.wl-cw-blur {
    filter: blur(5px);
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

@keyframes wl-cw-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.wl-cw-metrics {
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
    padding: 26px;
    margin: 0 0 28px;
}

.wl-cw-metrics__intro {
    text-align: center;
    margin-bottom: 20px;
}

.wl-cw-metrics__title {
    margin: 0 0 6px;
    font-size: 1.55rem;
    color: #0f172a;
}

.wl-cw-metrics__subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.wl-cw-metrics__row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.wl-cw-metrics__tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
}

.wl-cw-metrics__value {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
    color: #24387a;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.wl-cw-metrics__label {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-cw-metrics__footnote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

.wl-cw-metrics__pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: wl-cw-pulse 2s ease-in-out infinite;
}

/* ============================================================
   Lead Table Preview Widget
   ============================================================ */
.wl-cw-table-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 28px 20px;
    border: 1px solid #e4e9f2;
    box-shadow: 0 8px 40px rgba(15,23,42,.10);
    margin: 0 0 28px;
    overflow: hidden;
}

/* Toolbar: title + chip left, filters right — stays one row on tablet */
.wl-cw-table-card__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.wl-cw-table-card__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wl-cw-table-card__title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
}

.wl-cw-table-card__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 12px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Filter pills */
.wl-cw-table-card__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.wl-cw-table-card__filter {
    border: 1.5px solid #d1d9ea;
    background: #ffffff;
    color: #1e3a5f;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.wl-cw-table-card__filter.is-active {
    background: #1e3a5f;
    color: #ffffff;
    border-color: #1e3a5f;
}

.wl-cw-table-card__filter:not(.is-active):hover {
    background: #f1f5fb;
}

/* Table wrapper — always scrollable */
.wl-cw-table-card__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px;
}

/* Table base */
.wl-cw-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    table-layout: auto;
}

/* Header row */
.wl-cw-table thead tr {
    border-bottom: 2px solid #e8edf5;
}

.wl-cw-table th {
    color: #8496b3;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0 16px 14px;
    text-align: left;
    vertical-align: bottom;
    white-space: nowrap;
    background: transparent;
    border: none;
}

/* Column widths */
.wl-cw-col--company  { width: 26%; }
.wl-cw-col--contact  { width: 24%; }
.wl-cw-col--location { width: 14%; }
.wl-cw-col--industry { width: 17%; }
.wl-cw-col--status   { width: 10%; }
.wl-cw-col--action   { width: 11%; text-align: right; }

/* Body rows */
.wl-cw-table tbody tr {
    border-bottom: 1px solid #f1f4fa;
    transition: background 0.12s;
}

.wl-cw-table tbody tr:last-child {
    border-bottom: none;
}

.wl-cw-table tbody tr:hover {
    background: #f8faff;
}

.wl-cw-table td {
    padding: 16px;
    vertical-align: middle;
    text-align: left;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #1e293b;
}

.wl-cw-col--action.wl-cw-table td,
.wl-cw-table td:last-child {
    text-align: right;
}

/* Company cell */
.wl-cw-table__company {
    display: flex;
    align-items: center;
    gap: 11px;
}

.wl-cw-table__company-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}

.wl-cw-table__avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 800;
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* Contact cell */
.wl-cw-table__contact {
    color: #475569;
    font-size: 0.88rem;
}

/* Location cell */
.wl-cw-table__location {
    color: #475569;
    white-space: nowrap;
}

/* Industry */
.wl-cw-table__industry {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.88rem;
}

/* Status */
.wl-cw-table__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.wl-cw-table__status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    display: inline-block;
}

/* Action button */
.wl-cw-table__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e3a5f;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s;
    border: none;
}

.wl-cw-table__action:hover {
    background: #152c4a;
}

/* Blurred teaser rows */
.wl-cw-table__row--blurred td {
    filter: blur(4px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

/* Empty state */
.wl-cw-table__empty {
    text-align: center;
    color: #64748b;
    padding: 32px 16px !important;
}

/* Footer */
.wl-cw-table-card__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f4fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.wl-cw-table-card__footer-note {
    color: #94a3b8;
    font-size: 0.82rem;
    flex: 1 1 auto;
}

.wl-cw-table-card__cta {
    display: inline-flex;
    align-items: center;
    background: #1e3a5f;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.wl-cw-table-card__cta:hover {
    background: #152c4a;
}

.wl-cw-feed {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 16px 50px rgba(15,23,42,.08);
    overflow: hidden;
    margin: 0 0 28px;
}

.wl-cw-feed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #edf2f7;
}

.wl-cw-feed__header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.wl-cw-feed__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1f2f62;
}

.wl-cw-feed__count {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
}

.wl-cw-feed__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.wl-cw-feed__dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: wl-cw-pulse 2s ease-in-out infinite;
}

.wl-cw-feed__list {
    padding: 18px;
}

.wl-cw-feed__item--card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
    padding: 18px;
    background: #ffffff;
}

.wl-cw-feed__item--card + .wl-cw-feed__item--card {
    margin-top: 14px;
}

.wl-cw-feed__item-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wl-cw-feed__item-icon span {
    width: 14px;
    height: 14px;
    border: 2px solid #4f46e5;
    border-radius: 50%;
    display: block;
    position: relative;
}

.wl-cw-feed__item-icon span::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4f46e5;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wl-cw-feed__item-body {
    flex: 1;
    min-width: 0;
}

.wl-cw-feed__item-text {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.35;
}

.wl-cw-feed__item-meta,
.wl-cw-feed__item-time {
    color: #94a3b8;
    font-size: 0.88rem;
}

.wl-cw-feed__item-time {
    white-space: nowrap;
}

.wl-cw-feed__empty {
    color: #64748b;
    text-align: center;
    padding: 12px;
}

.wl-cw-lead-view {
    max-width: 780px;
    margin: 0 auto 28px;
}

.wl-cw-lead-view__slide {
    /* Carousel slide — no extra layout; just a visibility wrapper */
}

.wl-cw-lead-view__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.wl-cw-lead-view__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background .3s;
    border: none;
    padding: 0;
}

.wl-cw-lead-view__dot.is-active {
    background: var(--wp--preset--color--primary, #2C3494);
}

.wl-cw-lead-view__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wl-cw-lead-view__label {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 700;
}

.wl-cw-lead-view__pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 700;
}

.wl-cw-lead-view__pill--verified,
.wl-cw-lead-view__pill--soft {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.wl-cw-lead-view__panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(15,23,42,.08);
    padding: 24px;
}

.wl-cw-lead-view__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.wl-cw-lead-view__company {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 1.6rem;
}

.wl-cw-lead-view__meta {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.wl-cw-lead-view__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.wl-cw-lead-view__key {
    display: block;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 7px;
}

.wl-cw-lead-view__value {
    display: block;
    color: #334155;
    font-size: 1rem;
    line-height: 1.5;
}

.wl-cw-lead-view__footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wl-cw-lead-view__footer p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.wl-cw-proof {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 16px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .4s ease, opacity .3s ease;
    pointer-events: none;
}

.wl-cw-proof--bottom { bottom: 16px; transform: translateY(100%); }
.wl-cw-proof--top { top: 16px; bottom: auto; transform: translateY(-100%); }

.wl-cw-proof--visible {
    transform: translateY(0) !important;
    opacity: 1;
    pointer-events: auto;
}

.wl-cw-proof__inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1b2d6b;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15,23,42,.24);
}

.wl-cw-proof__kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wl-cw-proof__text {
    flex: 1;
    line-height: 1.45;
    font-size: 0.92rem;
}

.wl-btn-accent {
    background: #ffcb45;
    color: #0f172a;
    border: none;
    padding: 8px 18px;
    border-radius: var(--wl-radius-sm);
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.wl-btn-accent:hover {
    background: #f7b500;
    color: #0f172a;
}

.wl-cw-proof__close {
    background: none;
    border: none;
    color: rgba(255,255,255,.65);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.wl-cw-proof__close:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .wl-cw-metrics__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Table card toolbar stays one row on tablet — only non-table items stack */
    .wl-cw-lead-view__footer,
    .wl-cw-proof__inner,
    .wl-cw-feed__item--card,
    .wl-cw-lead-view__panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .wl-cw-lead-view__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Footer note wraps but row stays intact */
    .wl-cw-table-card__footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .wl-cw-metrics,
    .wl-cw-lead-view__panel {
        padding: 18px;
    }

    .wl-cw-table-card {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .wl-cw-metrics__row,
    .wl-cw-lead-view__grid {
        grid-template-columns: 1fr;
    }

    .wl-cw-table-card__toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wl-cw-table-card__title {
        font-size: 1.2rem;
    }

    .wl-cw-table-card__filters {
        width: 100%;
        gap: 6px;
    }

    /* Table scrolls horizontally on mobile (no stacking) */
    .wl-cw-table-card__table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wl-cw-table {
        min-width: 600px;
    }

    .wl-cw-table-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .wl-cw-table-card__cta {
        justify-content: center;
        text-align: center;
    }

    .wl-cw-proof__inner {
        flex-wrap: wrap;
    }

    .wl-cw-feed__item-avatar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .wl-cw-table-card {
        padding: 14px 12px 14px;
        border-radius: 14px;
    }

    .wl-cw-table-card__filter {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}

@media (max-width: 991px) {
    .wl-dash-hero-left { padding: 28px 22px; }
    .wl-page-header { flex-direction: column; align-items: flex-start; }
    .wl-page-header-chips { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .wl-stats-row { grid-template-columns: 1fr 1fr; }
    .wl-stats-card { padding: 20px 14px; }
    .wl-stats-number { font-size: 1.9rem; }
    .wl-toolbar { flex-direction: column; align-items: stretch; }
    .wl-search-group { width: 100%; }
    .wl-search-group,
    .wl-hero-actions { flex-direction: column; }
    .wl-btn,
    .wl-search-btn,
    .wl-connect-btn,
    .wl-action-pill { justify-content: center; width: 100%; }
    .wl-process-card,
    .wl-split-card { padding: 18px; border-radius: 18px; }
    .wl-detail-header { flex-direction: column; padding: 24px; }
    .wl-detail-actions { flex-direction: column; }
    .wl-detail-table th { width: auto; min-width: 90px; }
    .wl-detail-table th,
    .wl-detail-table td {
        display: block;
        width: 100%;
    }
    .wl-metric-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .wl-metric-card { padding: 16px; gap: 12px; }
    .wl-metric-num { font-size: 1.7rem; }
    .wl-dash-hero-actions { flex-direction: column; }
    .wl-btn-light,
    .wl-btn-ghost,
    .wl-btn-community { text-align: center; justify-content: center; }
    .wl-dash-hero-actions .wl-btn-community {
        margin-left: 0;
        padding-left: 20px;
    }
    .wl-dash-hero-actions .wl-btn-community::before {
        display: none;
    }

    .wl-page-header {
        padding: 0 4px 16px;
        margin-bottom: 14px;
    }

    .wl-leads-table-wrapper .wl-toolbar {
        align-items: center;
        gap: 10px;
    }

    .wl-leads-table-wrapper .wl-search-group {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .wl-leads-table-wrapper .wl-search-btn {
        width: min(220px, 100%);
        margin: 0 auto;
    }

    .wl-leads-table-wrapper .wl-filter-group,
    .wl-leads-table-wrapper .wl-filter-form {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .wl-leads-table-wrapper .wl-filter-select {
        width: 100%;
    }

    .wl-leads-table-wrapper .wl-toolbar > form:not(.wl-search-group):last-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .wl-leads-table-wrapper .wl-btn-export {
        width: min(220px, 100%);
    }

    .wl-leads-table-wrapper .wl-connect-btn {
        width: auto;
        min-width: 140px;
        margin: 0 auto;
        display: inline-flex;
    }
}

/* ===========================
   Filter Dropdowns
   =========================== */
.wl-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.wl-filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wl-filter-select {
    appearance: none;
    background: var(--wl-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748B'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
    border: 1.5px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    padding: 9px 34px 9px 14px;
    font-size: 0.88rem;
    font-family: var(--wl-font);
    color: var(--wl-text);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    min-width: 140px;
}
.wl-filter-select:focus {
    outline: none;
    border-color: var(--wl-primary);
    box-shadow: 0 0 0 3px rgba(27, 45, 107, .12);
}
.wl-filter-select:hover {
    border-color: var(--wl-primary);
}

/* ===========================
   Lead Database — toolbar + table (member)
   =========================== */
.wl-toolbar--leads {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: 16px;
    box-shadow: var(--wl-shadow-sm);
}

.wl-toolbar--leads .wl-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.wl-toolbar--leads .wl-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.wl-toolbar--leads .wl-toolbar__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 1 160px;
    min-width: 140px;
    max-width: 200px;
}

.wl-toolbar--leads .wl-toolbar__field--industry {
    flex: 1 1 180px;
    max-width: 260px;
}

.wl-toolbar--leads .wl-toolbar__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wl-muted);
}

.wl-toolbar--leads .wl-toolbar__clear {
    align-self: flex-end;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wl-muted);
    text-decoration: none;
    padding: 0 0 10px;
    line-height: 1.2;
}

.wl-toolbar--leads .wl-toolbar__clear:hover {
    color: #dc2626;
}

.wl-toolbar--leads .wl-toolbar__active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wl-toolbar--leads .wl-toolbar__chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.wl-toolbar--leads .wl-toolbar__export-form {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    margin: 0;
}

.wl-toolbar--leads .wl-toolbar__field .wl-filter-select {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
}

.wl-toolbar--leads .wl-btn-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-height: 38px;
    padding: 9px 18px;
    margin: 0;
    box-sizing: border-box;
}

.wl-panel--leads-table .wl-table-scroll {
    overflow-x: visible;
}

.wl-leads-table--database {
    table-layout: fixed;
    width: 100%;
}

.wl-leads-table--database .wl-col-company { width: 22%; }
.wl-leads-table--database .wl-col-city    { width: 10%; }
.wl-leads-table--database .wl-col-state   { width: 8%; }
.wl-leads-table--database .wl-col-industry { width: 20%; }
.wl-leads-table--database .wl-col-date    { width: 9%; }
    .wl-leads-table--database .wl-col-links   { width: 12%; white-space: normal; }
.wl-leads-table--database .wl-col-status  { width: 10%; }
.wl-leads-table--database .wl-col-action  { width: 11%; }

.wl-leads-table--database td.wl-col-status,
.wl-leads-table--database th.wl-col-status {
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}

.wl-leads-table--database .wl-col-status .wl-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    line-height: 1.2;
}

.wl-leads-table--database .wl-badge-verified {
    font-size: 0.68rem;
    padding: 4px 8px;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.wl-leads-table--database .wl-badge-verified::before {
    font-size: 0.75em;
    line-height: 1;
    flex-shrink: 0;
}

.wl-leads-table--database .wl-badge-unverified {
    font-size: 0.68rem;
    padding: 4px 8px;
    white-space: nowrap;
}

.wl-leads-table--database td.wl-col-date,
.wl-leads-table--database td.wl-col-action {
    vertical-align: middle;
}

.wl-leads-table--database .wl-company-cell strong {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    line-height: 1.35;
}

.wl-leads-table--database .wl-col-industry {
    vertical-align: top;
}

.wl-industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    line-height: 1.3;
}

.wl-industry-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
    text-align: left;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.wl-industry-tag--more {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.wl-leads-table--database .wl-col-industry .wl-badge-industry {
    display: none;
}

.wl-panel--empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--wl-muted);
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .wl-panel--leads-table .wl-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wl-leads-table--database {
        table-layout: auto;
        min-width: 720px;
    }
}

@media (max-width: 640px) {
    .wl-toolbar--leads .wl-toolbar__row {
        flex-direction: column;
        align-items: stretch;
    }

    .wl-toolbar--leads .wl-toolbar__export-form,
    .wl-toolbar--leads .wl-btn-export {
        width: 100%;
        justify-content: center;
    }

    .wl-toolbar--leads .wl-toolbar__field {
        width: 100%;
        min-width: 0;
    }

    .wl-toolbar--leads .wl-filter-select {
        width: 100%;
    }

    /* Override the 991px tablet scroll so the table can actually shrink to card width on phones */
    .wl-panel--leads-table .wl-table-scroll {
        overflow: visible;
    }
    .wl-leads-table--database {
        min-width: 0;
    }

    /* Database table card transformation on phones (premium 2-col flexbox — grid is unreliable on <tr>) */
    .wl-leads-table--database thead { display: none; }
    .wl-leads-table--database,
    .wl-leads-table--database tbody { display: block; width: 100%; }
    .wl-leads-table--database tbody { padding: 12px; }
    .wl-leads-table--database tr {
        display: flex;
        flex-wrap: wrap;
        gap: 0 12px;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
        border: 1px solid var(--wl-border);
        border-top: 2px solid var(--wl-primary);
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
        margin-bottom: 14px;
        padding: 14px 16px;
    }
    .wl-leads-table--database td {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        box-sizing: border-box;
        padding: 12px 0;
        font-size: 0.88rem;
        text-align: left;
        border-bottom: 1px solid var(--wl-border);
        width: auto;
        min-width: 0;
    }
    .wl-leads-table--database td:nth-child(1),
    .wl-leads-table--database td:nth-child(4) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .wl-leads-table--database tr > td:nth-last-child(-n+2) { border-bottom: none; }
    .wl-leads-table--database td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--wl-muted);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .wl-leads-table--database .wl-company-cell strong { color: var(--wl-primary); }
    .wl-leads-table--database .wl-col-company,
    .wl-leads-table--database .wl-col-city,
    .wl-leads-table--database .wl-col-state,
    .wl-leads-table--database .wl-col-industry,
    .wl-leads-table--database .wl-col-date,
    .wl-leads-table--database .wl-col-links,
    .wl-leads-table--database .wl-col-status,
    .wl-leads-table--database .wl-col-action { width: auto; }
    /* Reset .wl-col-links nowrap from line 1552 so quicklinks can sit in a half-column */
    .wl-leads-table--database .wl-col-links { white-space: normal; }
    /* Make the View button fit its half-column cell (overrides line 5143-5148 140px min-width) */
    .wl-leads-table--database .wl-col-action .wl-connect-btn {
        width: 100%;
        min-width: 0;
        padding: 9px 12px;
        justify-content: center;
    }
}

/* ===========================
   Locked / Hidden Fields
   =========================== */
.wl-locked-field {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--wl-muted);
    font-size: 0.85rem;
    font-style: italic;
    background: #F8FAFC;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed var(--wl-border);
    white-space: nowrap;
}

/* ===========================
   Demo Leads Section
   =========================== */
.wl-demo-leads {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.wl-demo-header {
    text-align: center;
    margin-bottom: 32px;
}
.wl-demo-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wl-text);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.wl-demo-header p {
    color: var(--wl-muted);
    font-size: 1rem;
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.6;
}
.wl-demo-cta {
    margin-top: 32px;
    text-align: center;
}
.wl-demo-cta-inner {
    background: linear-gradient(135deg, #1B2D6B 0%, #0d1a42 100%);
    border-radius: 20px;
    padding: 48px 32px;
    color: #fff;
}
.wl-demo-cta-inner .wl-lock-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 12px;
}
.wl-demo-cta-inner h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.wl-demo-cta-inner p {
    color: rgba(255, 255, 255, .72);
    font-size: 0.95rem;
    margin: 0 0 24px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.wl-demo-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .wl-filter-group { flex-direction: column; align-items: stretch; }
    .wl-filter-form { flex-direction: column; }
    .wl-filter-select { width: 100%; }
    .wl-demo-cta-inner { padding: 32px 20px; }
    .wl-demo-header h2 { font-size: 1.4rem; }
}

/* ===========================
   Plan Features Panel
   =========================== */
.wl-plan-features-panel {
    margin-bottom: 28px;
}

.wl-plan-features-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wl-plan-features-dropdown {
    border-top: 1px solid #E2E8F0;
}

.wl-plan-features-dropdown summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
    color: #1A1A2E;
    background: #FCFDFF;
}

.wl-plan-features-dropdown summary::-webkit-details-marker {
    display: none;
}

.wl-plan-features-dropdown summary::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    color: #334155;
    font-weight: 700;
}

.wl-plan-features-dropdown[open] summary::after {
    content: '-';
}

.wl-dropdown-label {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.wl-dropdown-count {
    margin-left: auto;
    margin-right: 8px;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: #EEF2FF;
    color: #3730A3;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wl-plan-features-panel .wl-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.wl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    padding: 16px 20px 20px;
}

.wl-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--wl-radius-sm);
    font-size: 0.92rem;
    transition: background 0.18s;
}

.wl-feature-unlocked {
    background: var(--wl-green-bg);
    color: var(--wl-green-dark);
}

.wl-feature-locked {
    background: #f8f8fa;
    color: var(--wl-muted);
    opacity: 0.7;
}

.wl-feature-status-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wl-feature-text {
    line-height: 1.35;
}

/* Past leads locked badge in leads table */
.wl-badge-locked {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Pricing page — requires note */
.wl-pricing-requires-note {
    font-size: 0.8rem;
    color: #92400e;
    text-align: center;
    margin-top: 8px;
    padding: 6px 10px;
    background: #fef3c7;
    border-radius: var(--wl-radius-sm);
}

@media (max-width: 640px) {
    .wl-features-grid {
        grid-template-columns: 1fr;
    }
    .wl-plan-features-panel .wl-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .wl-plan-features-dropdown summary {
        padding: 12px 14px;
    }
}


/* =============================================================================
   Embedded Checkout Page  (.wlco-* namespace)
   Replaces the old .wl-checkout-* classes — all new styles live here.
   ============================================================================= */

.wlco-page {
    width: 100%;
    max-width: 960px;
    margin: 48px auto;
    padding: 0 16px 80px;
    box-sizing: border-box;
    /* Allow full width inside theme flex layouts (avoid 0-width collapse) */
    min-width: 0;
    container-type: inline-size;
    container-name: wlco-page;
}

@media (max-width: 767px) {
    /* Avoid container-query bugs on small viewports (checkout grid collapsing) */
    .wlco-page {
        container-type: normal;
    }
}

/* When the theme makes .entry-content / .site-main a flex row, grow to column width (keep .wlco-page max-width: 1020px) */
.site-content .wlco-page,
.site-main .wlco-page,
.entry-content .wlco-page {
    flex: 1 1 auto;
    min-width: 0;
}

/* Outer shell: shortcode sits inside Elementor % columns — this block is always full width of that column */
.wlco-root {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/*
 * wl-x-checkout-shell / wl-x-pricing-shell: centered containers for desktop/tablet.
 * Mobile breakout is handled in a dedicated <=767px media query below.
 */
.wl-x-checkout-shell,
.wl-x-pricing-shell {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    left: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*
 * Allow viewport-anchored shell to render outside a narrow parent without clipping.
 * Scoped only to wrappers that directly contain wl-x shells.
 */
body.wl-checkout-page .elementor-column:has(#wlchk-app),
body.wl-checkout-page .e-con:has(#wlchk-app),
body.wl-checkout-page .e-con-inner:has(#wlchk-app),
body.wl-checkout-page .elementor-widget-shortcode:has(#wlchk-app),
body.wl-checkout-page .elementor-widget-html:has(#wlchk-app),
body.wl-checkout-page .elementor-widget-container:has(#wlchk-app),
body.wl-checkout-page .elementor-widget-wrap:has(#wlchk-app),
body.wl-pricing-page .elementor-column:has(.wl-x-pricing-shell),
body.wl-pricing-page .e-con:has(.wl-x-pricing-shell),
body.wl-pricing-page .e-con-inner:has(.wl-x-pricing-shell),
body.wl-pricing-page .elementor-widget-shortcode:has(.wl-x-pricing-shell),
body.wl-pricing-page .elementor-widget-container:has(.wl-x-pricing-shell),
body.wl-pricing-page .elementor-widget-wrap:has(.wl-x-pricing-shell) {
    overflow: visible !important;
    min-width: 0 !important;
}

/* Desktop/tablet: checkout/pricing wrapper chain should consume full content width */
@media (min-width: 768px) {
    body.wl-checkout-page .elementor-column:has(#wlchk-app),
    body.wl-checkout-page .e-con:has(#wlchk-app),
    body.wl-checkout-page .e-con-inner:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-shortcode:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-html:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-container:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-wrap:has(#wlchk-app),
    body.wl-pricing-page .elementor-column:has(.wl-x-pricing-shell),
    body.wl-pricing-page .e-con:has(.wl-x-pricing-shell),
    body.wl-pricing-page .e-con-inner:has(.wl-x-pricing-shell),
    body.wl-pricing-page .elementor-widget-shortcode:has(.wl-x-pricing-shell),
    body.wl-pricing-page .elementor-widget-container:has(.wl-x-pricing-shell),
    body.wl-pricing-page .elementor-widget-wrap:has(.wl-x-pricing-shell) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        flex-basis: 100% !important;
        align-self: stretch !important;
    }
}

.wl-x-checkout-shell .wlco-root {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
}

.wl-x-checkout-shell .wlco-root .wlco-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 48px !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 80px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1279px) {
    .wl-x-checkout-shell .wlco-root .wlco-page {
        margin-top: 0 !important;
        padding-top: 32px !important;
        padding-bottom: 48px !important;
    }
}


.wl-x-checkout-shell .wlco-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wl-x-pricing-shell .wl-pricing-section {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1020px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 48px !important;
    padding-bottom: 64px !important;
    min-width: 0 !important;
    position: relative !important;
    left: auto !important;
}

.wl-x-pricing-shell .wl-pricing-section-inner {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Legacy: wlco markup without wl-x-checkout-shell */
body:not(:has(#wlchk-app)) .site-content .wlco-root .wlco-page,
body:not(:has(#wlchk-app)) .site-main .wlco-root .wlco-page,
body:not(:has(#wlchk-app)) .entry-content .wlco-root .wlco-page {
    flex: none !important;
}

@media (max-width: 1279px) {
    body:not(:has(#wlchk-app)) .wlco-root {
        width: 100% !important;
        max-width: 100% !important;
    }

    body:not(:has(#wlchk-app)) .wlco-page {
        max-width: 100% !important;
    }
}

/* Empty / no-plan state */
.wlco-empty {
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.wlco-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    margin: 0 auto 18px;
}
.wlco-empty h2 { font-size: 1.4rem; color: #0f172a; margin: 0 0 10px; }
.wlco-empty p  { color: #64748b; max-width: 400px; margin: 0 auto 24px; }

/* Checkout top return link */
.wlco-return-row {
    width: 100%;
    max-width: 960px;
    margin: 16px auto 10px;
    padding: 0 16px;
    box-sizing: border-box;
}

.wlco-return-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2d5a;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.wlco-return-link:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
    text-decoration: none;
}

.wlco-return-link:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .wl-x-checkout-shell,
    .wl-x-pricing-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        left: auto !important;
        right: auto !important;
    }

    .wl-x-checkout-shell .wlco-root,
    .wl-x-pricing-shell .wl-pricing-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .wlco-return-row {
        margin-top: 8px;
        padding: 0 12px;
    }

    .wlco-return-link {
        width: 100%;
    }
}

/* Checkout: single column until layout is wide enough for a fixed summary column.
   Do NOT use two columns below 1024px — a 360px track + narrow container collapses the form to a few px. */
.wlco-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.14);
}

@media (min-width: 1200px) {
    .wlco-wrap {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    }
}

/* v3: stack with flex <1200px so grid min tracks cannot collapse inside narrow Elementor parents */
.wlco-wrap.wlco-v3-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
}
.wlco-wrap.wlco-v3-wrap .wlco-sidebar,
.wlco-wrap.wlco-v3-wrap .wlco-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
}
@media (min-width: 1200px) {
    .wlco-wrap.wlco-v3-wrap {
        display: grid !important;
        flex-direction: unset !important;
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) !important;
    }
    .wlco-wrap.wlco-v3-wrap .wlco-sidebar,
    .wlco-wrap.wlco-v3-wrap .wlco-main {
        width: auto !important;
        max-width: none !important;
        flex: unset !important;
    }
}

/* --------------------------------------------------------------------------
   SIDEBAR (dark navy)
   -------------------------------------------------------------------------- */
.wlco-sidebar {
    background: #1a2d5a;
    padding: 40px 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.wlco-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.45);
    font-size: 0.82rem;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color .15s;
}
.wlco-back-link:hover { color: #fff; }

.wlco-plan-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.wlco-price-row {
    display: flex;
    align-items: flex-start;
    line-height: 1;
    margin-bottom: 8px;
    gap: 3px;
}
.wlco-price-sup { font-size: 1.2rem; font-weight: 700; padding-top: 7px; color: rgba(255,255,255,.8); }
.wlco-price-num { font-size: 3.2rem; font-weight: 800; color: #fff; letter-spacing: -.04em; }
.wlco-price-per { font-size: 0.9rem; color: rgba(255,255,255,.45); align-self: flex-end; padding-bottom: 7px; }

.wlco-plan-desc {
    font-size: 0.84rem;
    color: rgba(255,255,255,.5);
    margin: 0 0 22px;
    line-height: 1.6;
}

.wlco-sidebar-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.12);
    margin: 0 0 20px;
}

.wlco-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.wlco-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.87rem;
    color: rgba(255,255,255,.72);
    line-height: 1.45;
}
.wlco-features-list li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #86efac;
}

/* Order summary box */
.wlco-order-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}
.wlco-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,.65);
    gap: 12px;
}
.wlco-order-row + .wlco-order-row { margin-top: 8px; }
.wlco-order-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 10px 0;
}
.wlco-order-total { font-size: 1rem; color: #fff; }
.wlco-order-total strong { font-size: 1.15rem; }
.wlco-billing-note {
    font-size: 0.76rem;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin: 10px 0 0;
}

.wlco-secure-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,.35);
    margin-top: auto;
    padding-top: 4px;
}

/* --------------------------------------------------------------------------
   MAIN (white)
   -------------------------------------------------------------------------- */
.wlco-main {
    background: #fff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (max-width: 480px) {
    .wlco-page {
        margin-top: 24px;
        padding: 0 12px 48px;
    }
    .wlco-sidebar { padding: 28px 20px; }
    .wlco-main    { padding: 28px 20px; }
    .wlco-price-num {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }
}

/* Centered state (blocked / pending) */
.wlco-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    flex: 1;
}
.wlco-state h2 { font-size: 1.3rem; color: #0f172a; margin: 0 0 10px; }
.wlco-state p  { color: #64748b; max-width: 400px; margin: 0 0 20px; }

/* Yearly-required blocked state */
.wlco-blocked {
    text-align: center;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wlco-blocked-icon { margin-bottom: 12px; }
.wlco-blocked h2   { font-size: 1.4rem; color: #0f172a; margin: 0 0 8px; }
.wlco-blocked p    { color: #64748b; max-width: 380px; margin: 0 0 22px; }

/* Section with step number */
.wlco-section { margin-bottom: 28px; min-width: 0; }
.wlco-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.wlco-section-head h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.wlco-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a2d5a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form fields */
.wlco-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width: 520px) {
    .wlco-field-row { grid-template-columns: 1fr; }
}

.wlco-field { margin-bottom: 14px; }
.wlco-field:last-child { margin-bottom: 0; }
.wlco-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}
.wlco-req { color: #ef4444; }
.wlco-field input,
.wlco-field select {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
    -webkit-appearance: none;
    appearance: none;
}
.wlco-field input:focus,
.wlco-field select:focus {
    outline: none;
    border-color: #1a2d5a;
    box-shadow: 0 0 0 3px rgba(26,45,90,.1);
}
.wlco-field input::placeholder { color: #94a3b8; }
.wlco-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

/* Already have an account toggle */
.wlco-signin-toggle {
    text-align: center;
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: #64748b;
}
.wlco-signin-toggle a {
    color: #1a2d5a;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}
.wlco-signin-toggle a:hover { text-decoration: underline; }

/* Inline sign-in box */
.wlco-signin-box {
    display: none;
    margin-top: 16px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.wlco-signin-box h4 {
    font-size: 0.92rem;
    color: #0f172a;
    margin: 0 0 14px;
    font-weight: 700;
}
.wlco-signin-submit {
    width: 100%;
    padding: 10px 16px;
    background: #1a2d5a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.wlco-signin-submit:hover { background: #162449; }

/* Sub-form inside sign-in box */
.wlco-login-subform .wlco-field { margin-bottom: 12px; }

/* Stripe card element wrapper */
.wlco-card-wrap {
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    min-height: 46px;
}
.wlco-card-wrap.focused {
    border-color: #1a2d5a;
    box-shadow: 0 0 0 3px rgba(26,45,90,.1);
}
.wlco-card-errors {
    font-size: 0.82rem;
    color: #ef4444;
    min-height: 18px;
    margin-top: 6px;
}

/* Password show/hide wrapper */
.wlco-pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.wlco-pass-wrap input {
    padding-right: 42px !important;
    width: 100%;
}
.wlco-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: color .15s;
}
.wlco-pass-toggle:hover { color: #475569; }

/* Logged-in user card */
.wlco-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f0f4f8;
    border-radius: 10px;
    margin-bottom: 24px;
}
.wlco-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a2d5a;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wlco-user-info     { flex: 1; min-width: 0; }
.wlco-user-name     { font-size: 0.9rem; font-weight: 700; color: #0f172a; }
.wlco-user-email    { font-size: 0.8rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlco-user-switch   { font-size: 0.78rem; color: #1a2d5a; text-decoration: none; flex-shrink: 0; }
.wlco-user-switch:hover { text-decoration: underline; }

/* Error banner */
.wlco-error-banner {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #b91c1c;
    margin-bottom: 18px;
    gap: 8px;
    align-items: flex-start;
}

/* Pay button */
.wlco-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: #f59e0b;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    margin-top: 8px;
    letter-spacing: .01em;
}
.wlco-pay-btn:hover    { background: #d97706; }
.wlco-pay-btn:active   { transform: scale(.99); }
.wlco-pay-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.wlco-pay-note {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Notice / alert variants */
.wlco-notice {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
}
.wlco-notice--info  { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.wlco-notice--warn  { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.wlco-notice--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* CTA buttons used in blocked / empty states */
.wlco-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.93rem;
    font-weight: 700;
    background: #1a2d5a;
    color: #fff;
    text-decoration: none;
    transition: background .15s;
    cursor: pointer;
    border: none;
}
.wlco-btn-primary:hover { background: #162449; color: #fff; }

.wlco-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    border: 2px solid #1a2d5a;
    color: #1a2d5a;
    background: transparent;
    text-decoration: none;
    transition: background .15s, color .15s;
    cursor: pointer;
}
.wlco-btn-outline:hover { background: #1a2d5a; color: #fff; }

.wlco-btn-ghost {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color .15s;
    margin-top: 8px;
}
.wlco-btn-ghost:hover { color: #1a2d5a; }

/* =============================================================================
   Checkout Layout v2 — Elementor/Astra wrapper chain
   Flex items need flex-basis + grow; width alone collapses (Canvas / tablet).
   ============================================================================= */
@media (max-width: 767px) {
    body.wl-checkout-page #elementor {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.wl-checkout-page .elementor-element:has(#wlchk-app),
    body.wl-checkout-page .elementor-section-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-section:has(#wlchk-app),
    body.wl-checkout-page .elementor-container:has(#wlchk-app),
    body.wl-checkout-page .elementor-column:has(#wlchk-app),
    body.wl-checkout-page .elementor-column-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-shortcode:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-html:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-container:has(#wlchk-app),
    body.wl-checkout-page .e-con:has(#wlchk-app),
    body.wl-checkout-page .e-con-inner:has(#wlchk-app) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.wl-checkout-page .elementor-column:has(#wlchk-app),
    body.wl-checkout-page .e-con:has(#wlchk-app) {
        flex: 1 1 100% !important;
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
        min-width: 0 !important;
    }
}

@media (min-width: 768px) {
    /* Wide wrappers only — avoid touching every nested .e-con (breaks flex, narrows checkout on tablet). */
    body.wl-checkout-page #elementor,
    body.wl-checkout-page .site-content > .ast-container,
    body.wl-checkout-page #primary,
    body.wl-checkout-page .ast-article-single,
    body.wl-checkout-page .entry-content,
    body.wl-checkout-page .elementor {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    body.wl-checkout-page .elementor-element:has(#wlchk-app),
    body.wl-checkout-page .elementor-section-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-section:has(#wlchk-app),
    body.wl-checkout-page .elementor-container:has(#wlchk-app),
    body.wl-checkout-page .elementor-column:has(#wlchk-app),
    body.wl-checkout-page .elementor-column-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-wrap:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-shortcode:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-html:has(#wlchk-app),
    body.wl-checkout-page .elementor-widget-container:has(#wlchk-app),
    body.wl-checkout-page .e-con:has(#wlchk-app),
    body.wl-checkout-page .e-con-inner:has(#wlchk-app) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.wl-checkout-page .elementor-column:has(#wlchk-app),
    body.wl-checkout-page .e-con:has(#wlchk-app) {
        flex: 1 1 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        align-self: stretch !important;
    }
}

/* Checkout UI: see assets/css/wl-checkout-pro.css (#wlchk-app). */

/* ============================================================
   APPLICATION FORM — Wide Boxed Responsive Layout
   ============================================================ */

/* Page wrapper — full width background */
.wl-apply-page {
    --apply-max: 820px;
    --apply-radius: 16px;
    --apply-primary: #1B2D6B;
    --apply-accent: #FF9500;
    --apply-bg: #f5f7fb;
    --apply-card: #ffffff;
    --apply-border: #e2e8f0;
    --apply-text: #1e293b;
    --apply-muted: #64748b;
    --apply-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: clip;
    font-family: var(--apply-font);
    color: var(--apply-text);
}

/* Full-bleed via JS (wl-checkout-layout-escape.js); avoid 100vw + calc here — causes overflow vs scrollbar. */
@media (max-width: 1024px) {
    body.wl-apply-page-route .wl-apply-page,
    body.wl-apply-page-route .wl-apply-page .wl-apply-body {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    body.wl-apply-page-route .wl-apply-page .wl-notice {
        max-width: 100%;
        box-sizing: border-box;
    }
}

.wl-apply-page--compact .wl-apply-body {
    padding-top: 24px;
}

/* ---- Hero Header ---- */
.wl-apply-hero {
    background: linear-gradient(135deg, #1B2D6B 0%, #243a8e 50%, #2d48b0 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1025px) {
    body.wl-apply-page-route .wl-apply-page {
        overflow-x: visible;
    }
    body.wl-apply-page-route .wl-apply-hero {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: auto;
        max-width: none;
    }
}

@media (max-width: 1024px) {
    body.wl-apply-page-route .wl-apply-hero {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    body.wl-apply-page-route .wl-apply-hero-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
}

.wl-apply-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,149,0,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
    pointer-events: none;
}
.wl-apply-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--apply-accent), #ffcb5c, var(--apply-accent));
}
.wl-apply-hero-inner {
    max-width: var(--apply-max);
    margin: 0 auto;
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
}
.wl-apply-hero-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(255,255,255,.9);
}
.wl-apply-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
/* Block themes / Elementor sometimes inject list markers or quotes via ::before — avoid stray “-” in hero copy */
.wl-apply-hero h1::before,
.wl-apply-hero h1::after,
.wl-apply-hero p::before,
.wl-apply-hero p::after {
    content: none !important;
    display: none !important;
}
.wl-apply-hero p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    margin: 0 auto 24px;
    max-width: 520px;
    line-height: 1.6;
    list-style: none;
}

/* Trust badges */
.wl-apply-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.wl-apply-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.9);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.wl-apply-badge svg {
    color: var(--apply-accent);
    flex-shrink: 0;
}

/* ---- Body / form area ---- */
.wl-apply-body {
    max-width: var(--apply-max);
    margin: 0 auto;
    padding: 32px 24px 48px;
}

/* Alert banners */
.wl-apply-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: .93rem;
    margin-bottom: 24px;
    line-height: 1.5;
}
.wl-apply-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}
.wl-apply-alert--error svg {
    flex-shrink: 0;
    color: #ef4444;
}

/* ---- Success State ---- */
.wl-apply-success-card {
    background: var(--apply-card);
    border: 1px solid var(--apply-border);
    border-radius: var(--apply-radius);
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    padding: 48px 40px;
    text-align: center;
}
.wl-apply-success-icon {
    margin-bottom: 20px;
}
.wl-apply-success-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--apply-text);
}
.wl-apply-success-card > p {
    color: var(--apply-muted);
    font-size: 1rem;
    margin: 0 0 32px;
    line-height: 1.6;
}
.wl-apply-success-steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.wl-apply-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--apply-text);
}
.wl-apply-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--apply-primary);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Form Layout ---- */
.wl-apply-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Sections */
.wl-apply-section {
    background: var(--apply-card);
    border: 1px solid var(--apply-border);
    border-radius: var(--apply-radius);
    padding: 28px 32px 32px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.wl-apply-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.wl-apply-section-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--apply-primary), #2d48b0);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(27,45,107,.25);
}
.wl-apply-section-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--apply-text);
}
.wl-apply-section-header p {
    font-size: .88rem;
    color: var(--apply-muted);
    margin: 0;
    line-height: 1.5;
}

/* Grid layouts */
.wl-apply-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}
.wl-apply-grid:last-child {
    margin-bottom: 0;
}
.wl-apply-grid--2 {
    grid-template-columns: 1fr 1fr;
}
.wl-apply-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Fields */
.wl-apply-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wl-apply-field label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--apply-text);
}
.wl-req {
    color: #ef4444;
    margin-left: 1px;
}
.wl-apply-field input,
.wl-apply-field select,
.wl-apply-field textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--apply-border);
    border-radius: 10px;
    font-size: .95rem;
    font-family: var(--apply-font);
    color: var(--apply-text);
    background: #fafbff;
    transition: border-color .2s, box-shadow .2s, background .2s;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
}
.wl-apply-field select {
    min-height: 44px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.wl-apply-field textarea {
    resize: vertical;
    min-height: 44px;
}
.wl-apply-field input:focus,
.wl-apply-field select:focus,
.wl-apply-field textarea:focus {
    outline: none;
    border-color: var(--apply-primary);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(27,45,107,.1);
}
.wl-apply-field input::placeholder,
.wl-apply-field textarea::placeholder {
    color: #b0b8cc;
}

/* Input with icon */
.wl-apply-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.wl-apply-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}
.wl-apply-input-wrap input,
.wl-apply-input-wrap select {
    padding-left: 42px !important;
}

/* Password toggle */
.wl-apply-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #94a3b8;
    line-height: 1;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color .2s;
    z-index: 1;
}
.wl-apply-pwd-toggle:hover {
    color: var(--apply-primary);
}

/* Password strength (reuses existing) */
.wl-apply-field .wl-strength-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--apply-border);
    overflow: hidden;
    margin-top: 6px;
}
.wl-apply-field .wl-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width .35s ease, background-color .35s ease;
}
.wl-apply-field .wl-strength-label {
    font-size: .78rem;
    color: var(--apply-muted);
    margin-top: 4px;
    display: block;
}

/* ---- Footer: terms + submit ---- */
.wl-apply-footer {
    background: var(--apply-card);
    border: 1px solid var(--apply-border);
    border-radius: var(--apply-radius);
    padding: 28px 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.wl-apply-terms {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--apply-text);
    cursor: pointer;
    margin-bottom: 24px;
    text-align: left;
}
.wl-apply-terms input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--apply-primary);
    flex-shrink: 0;
}
.wl-apply-terms a {
    color: var(--apply-primary);
    font-weight: 600;
    text-decoration: none;
}
.wl-apply-terms a:hover {
    text-decoration: underline;
}

/* Buttons */
.wl-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 15px 40px;
    transition: all .2s ease;
    text-decoration: none;
}
.wl-apply-btn--primary {
    background: linear-gradient(135deg, var(--apply-primary) 0%, #2d48b0 100%);
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 16px rgba(27,45,107,.3);
}
.wl-apply-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(27,45,107,.4);
}
.wl-apply-btn--primary:active {
    transform: translateY(0);
}
.wl-apply-btn--outline {
    background: transparent;
    border: 2px solid var(--apply-primary);
    color: var(--apply-primary);
    padding: 12px 32px;
    font-size: .95rem;
}
.wl-apply-btn--outline:hover {
    background: var(--apply-primary);
    color: #fff;
}

.wl-apply-signin-link {
    margin: 20px 0 0;
    font-size: .92rem;
    color: var(--apply-muted);
}
.wl-apply-signin-link a {
    color: var(--apply-primary);
    font-weight: 600;
    text-decoration: none;
}
.wl-apply-signin-link a:hover {
    text-decoration: underline;
}

/* ============================================================
   APPLICATION FORM — Responsive
   ============================================================ */
@media (max-width: 768px) {
    .wl-apply-hero-inner {
        padding: 36px 20px 32px;
    }
    .wl-apply-hero h1 {
        font-size: 1.6rem;
    }
    .wl-apply-hero p {
        font-size: .95rem;
    }
    .wl-apply-body {
        padding: 20px 16px 40px;
    }
    .wl-apply-section {
        padding: 22px 20px 24px;
    }
    .wl-apply-footer {
        padding: 22px 20px;
    }
    .wl-apply-grid--2,
    .wl-apply-grid--3 {
        grid-template-columns: 1fr;
    }
    .wl-apply-section-header {
        gap: 12px;
    }
    .wl-apply-section-num {
        width: 32px;
        height: 32px;
        font-size: .9rem;
    }
    .wl-apply-success-steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .wl-apply-hero-inner {
        padding: 28px 16px 24px;
    }
    .wl-apply-hero h1 {
        font-size: 1.35rem;
    }
    .wl-apply-hero p {
        font-size: .88rem;
    }
    .wl-apply-hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .wl-apply-hero-icon {
        width: 52px;
        height: 52px;
    }
    .wl-apply-hero-icon svg {
        width: 26px;
        height: 26px;
    }
    .wl-apply-body {
        padding: 16px 12px 32px;
    }
    .wl-apply-section {
        padding: 18px 16px 20px;
        border-radius: 12px;
    }
    .wl-apply-footer {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .wl-apply-btn--primary {
        padding: 14px 24px;
        font-size: 1rem;
    }
    .wl-apply-section-header h3 {
        font-size: 1.05rem;
    }
}

/* Apply: avoid 100vw / negative margin breakout (breaks mobile inside Elementor flex). Full width via parent + box-sizing above. */
