/* ============================================================
   Adspero — Color + Brand Override for Capigo Template
   Replaces template green with Navy (#0F2557) + Red (#C8201A)
   This loads AFTER the template CSS so it wins every fight
   ============================================================ */

/* ── Blog section left panel overlay ── */
.blog-one-bg {
    position: relative;
    overflow: hidden;
}
.blog-one-bg .pbmit-subtitle {
    color: #0F2557 !important;
}
.blog-one-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 37, 87, 0.62) 0%,
        rgba(15, 37, 87, 0.82) 100%
    );
    z-index: 1;
}
.blog-one-bg > * {
    position: relative;
    z-index: 2;
}

/* Glassdoor Sans — custom brand font */
@font-face {
    font-family: 'Glassdoor Sans';
    src: url('/fonts/GlassdoorSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Glassdoor Sans';
    src: url('/fonts/GlassdoorSans-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Glassdoor Sans';
    src: url('/fonts/GlassdoorSans-Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Swap out Capigo's green for our brand colors */
    --pbmit-global-color:          #C8201A;
    --pbmit-global-color-rgb:      rgb(200, 32, 26);
    --pbmit-secondary-color:       #0F2557;
    --pbmit-secondary-color-rgb:   rgb(15, 37, 87);
    --pbmit-blackish-color:        #09193D;
    --pbmit-link-color-hover:      #C8201A;

    /* Override template font variables with Glassdoor Sans */
    --pbmit-body-typography-font-family:    'Glassdoor Sans', sans-serif;
    --pbmit-heading-typography-font-family: 'Glassdoor Sans', sans-serif;
    --pbmit-btn-typography-font-family:     'Glassdoor Sans', sans-serif;

    /* Our own tokens for anything we build from scratch */
    --ads-navy:       #0F2557;
    --ads-navy-dark:  #09193D;
    --ads-red:        #C8201A;
    --ads-red-dark:   #A0180F;
    --ads-red-light:  #FDF1F1;
    --ads-white:      #FFFFFF;
    --ads-gray-50:    #F7F9FC;
    --ads-gray-100:   #EEF1F8;
    --ads-gray-200:   #DDE2F0;
    --ads-gray-500:   #5F6C8F;
    --ads-border:     #DDE2F0;
    --ads-green:      #0A7C50;
    --ads-yellow:     #B87800;
    --ads-shadow:     0 2px 12px rgba(15,37,87,0.10);
}

.ngn {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-style: normal;
}

/* Section spacing */
.section-lgb {
    padding-top: 120px;
}

/* Header top bar — navy instead of template dark */
.pbmit-pre-header-wrapper {
    background-color: var(--ads-navy-dark) !important;
}

/* Main header background */
.pbmit-main-header-area {
    background-color: var(--ads-white) !important;
    border-bottom: 1px solid var(--ads-gray-200);
}

/* Logo sizing */
.logo-img,
.pbmit-responsive-logo {
    height: 55px !important;
    width: auto !important;
}

/* Footer logo — invert to white since footer is dark navy */
.pbmit-footer-logo img {
    filter: brightness(0) invert(1);
    height: 75px;
    width: auto;
}

/* Nav links */
.navigation > li > a {
    color: #1a2a4a !important;
    font-weight: 600;
}
.navigation > li > a:hover,
.navigation > li.active > a {
    color: var(--ads-red) !important;
}

/* Header CTA button */
.pbmit-btn,
.pbmit-btn-outline,
.pbmit-btn.pbmit-btn-outline,
.pbmit-svg-btn a {
    border-radius: 0 !important;
}
.pbmit-btn.pbmit-btn-outline {
    border-color: var(--ads-red) !important;
    color: var(--ads-red) !important;
}
.pbmit-btn.pbmit-btn-outline:hover {
    background-color: var(--ads-red) !important;
    color: #fff !important;
}
.pbmit-btn-outline .pbmit-svg-arrow line {
    stroke: var(--ads-red) !important;
}
.pbmit-btn-outline:hover .pbmit-svg-arrow line {
    stroke: #fff !important;
}

/* Slider hero — match height of inner page title bar (600px) */
.pbmit-slider-one .pbmit-slider-item {
    min-height: 600px !important;
    padding-top: 210px !important;
    padding-bottom: 80px !important;
}

/* Slider font sizes — template defaults (100–110px) are for a much taller slider */
.pbmit-slider-one .pbmit-slider-item .pbmit-title {
    font-size: 44px !important;
    line-height: 54px !important;
}
.pbmit-slider-one .pbmit-slider-item .pbmit-title strong {
    font-size: 50px !important;
    line-height: 60px !important;
}
/* Slider hero area — navy background */
.pbmit-slider-area .pbmit-slider-bg {
    filter: brightness(0.55);
}
.pbmit-slider-content h2.pbmit-title strong { color: #fff; }
.pbmit-btn-white {
    background: var(--ads-red) !important;
    border-color: var(--ads-red) !important;
    color: #fff !important;
}
.pbmit-btn-white:hover {
    background: var(--ads-red-dark) !important;
    border-color: var(--ads-red-dark) !important;
}

/* The icon boxes just below the hero */
.pbmit-ihbox-style-1 {
    border-top: 3px solid var(--ads-navy) !important;
}
.pbmit-ihbox-style-1:hover {
    background-color: var(--ads-navy) !important;
}
.pbmit-ihbox-style-1:hover .pbmit-element-title,
.pbmit-ihbox-style-1:hover .pbmit-element-subtitle,
.pbmit-ihbox-style-1:hover .pbmit-heading-desc {
    color: rgba(255,255,255,0.85) !important;
}
.pbmit-ihbox-style-1:hover .pbmit-ihbox-btn a { color: #fff !important; }

/* Dark sections — swap template dark-green for navy */
.pbmit-bg-color-blackish,
[class*="pbmit-bg-color-blackish"] {
    background-color: var(--ads-navy) !important;
}
.pbmit-bg-color-secondary {
    background-color: var(--ads-navy-dark) !important;
}

/* Subtitle stripes (the little colored lines above headings) */
.pbmit-subtitle::before,
.pbmit-subtitle::after {
    background-color: var(--ads-red) !important;
}

/* Process step numbers */
.pbmit-card-box-number h4 {
    color: var(--ads-red) !important;
    -webkit-text-stroke-color: var(--ads-red) !important;
}
.pbmit-card-box-wrapper::before {
    background-color: var(--ads-red) !important;
}

/* Service cards */
.pbmit-service-icon-wrapper i { color: var(--ads-red) !important; }
.pbmit-service-style-1 .pbmit-serv-cat a { color: var(--ads-red) !important; }

/* Counters on dark backgrounds (testimonials section) */
.pbmit-bg-color-blackish .pbmit-fid-inner,
.pbmit-bg-color-secondary .pbmit-fid-inner { color: #fff !important; }

/* Global color class overrides (template uses this class everywhere) */
.pbmit-global-color,
[class*="pbmit-color-global"] { color: var(--ads-red) !important; }
.pbmit-bg-global-color,
[class*="pbmit-bg-color-global"] { background-color: var(--ads-red) !important; }

/* Footer */
.site-footer {
    background-color: var(--ads-navy-dark) !important;
    background-image: none !important;
    overflow: hidden;
}
.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 350px;
    height: 350px;
    background-image: url('/images/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    filter: brightness(0) invert(1);
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}
.pbmit-footer-widget-area { border-top: 1px solid rgba(255,255,255,0.08); }
.widget-title { color: rgba(255,255,255,0.55) !important; }
.pbmit-social-links li a { border-color: rgba(255,255,255,0.2) !important; }
.pbmit-social-links li a:hover { background-color: var(--ads-navy) !important; border-color: var(--ads-navy) !important; }
/* Testimonial monogram initials */
.ads-testimonial-monogram {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
        margin-right: 10px;
}

/* Blog cards */
.pbmit-blog-style-1:hover .pbmit-blog-title a { color: var(--ads-red) !important; }
.btn-arrow:hover svg line { stroke: var(--ads-red) !important; }

/* Naira symbol — Inter renders ₦ cleanly */
.pbminfotech-ptable-symbol {
    font-family: 'Inter', sans-serif !important;
}

/* Pricing cards */
.pbminfotech-ele-ptable-style-1 .pbmit-pricing-table-box {
    padding: 40px 30px !important;
}
.pbminfotech-ele-ptable-style-1 .pbminfotech-ptable-price {
    font-size: 48px !important;
    line-height: 52px !important;
}
.pbminfotech-ele-ptable-style-1 .pbminfotech-ptable-symbol {
    font-size: 28px !important;
    line-height: 36px !important;
}
.pbminfotech-ele-ptable-style-1 .pbmit-ptable-lines-w {
    padding: 30px 10px !important;
}
.pbminfotech-ele-ptable-style-1 .pbminfotech-ptable-desc {
    padding: 0 10px !important;
}

/* Page title / breadcrumb header */
.pbmit-title-bar-wrapper {
    background-image: url('/template/shutterstock_2136969367.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: var(--ads-navy) !important;
}

.pbmit-title-bar-wrapper, .pbmit-title-bar-content {
    min-height: 400px !important;
}

/* ============================================================
   CUSTOM ADSPERO COMPONENTS
   (auth forms, dashboards — these don't come from the template)
   ============================================================ */

/* Auth pages */
.ads-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ads-gray-50);
    padding: 60px 16px;
}
.ads-auth-card {
    background: #fff;
    border: 1px solid var(--ads-border);
    border-radius: 14px;
    padding: 44px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--ads-shadow);
}
.ads-auth-logo {
    text-align: center;
    margin-bottom: 30px;
}
.ads-auth-logo img { height: 40px; margin: 0 auto 12px; }
.ads-auth-logo h2 { color: var(--ads-navy); font-size: 1.4rem; font-family: 'Glassdoor Sans', sans-serif; }
.ads-auth-logo p  { color: var(--ads-gray-500); font-size: 0.88rem; margin-top: 4px; }
.ads-form-group { margin-bottom: 18px; }
.ads-form-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 7px;
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--ads-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Glassdoor Sans', sans-serif;
    color: #1a2a4a;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
}
.ads-form-control:focus {
    outline: none;
    border-color: var(--ads-navy);
    box-shadow: 0 0 0 3px rgba(15,37,87,0.1);
}
.ads-form-control::placeholder { color: #aab0c0; }
textarea.ads-form-control { resize: vertical; min-height: 100px; }
select.ads-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235F6C8F' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.ads-form-hint  { font-size: 0.77rem; color: var(--ads-gray-500); margin-top: 4px; }
.ads-form-error { font-size: 0.78rem; color: var(--ads-red); margin-top: 4px; }

.ads-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Glassdoor Sans', sans-serif;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.ads-btn-primary   { background: var(--ads-red);  color: #fff; border-color: var(--ads-red); }
.ads-btn-primary:hover { background: var(--ads-red-dark); border-color: var(--ads-red-dark); color: #fff; }
.ads-btn-navy      { background: var(--ads-navy); color: #fff; border-color: var(--ads-navy); }
.ads-btn-navy:hover{ background: var(--ads-navy-dark); border-color: var(--ads-navy-dark); color: #fff; }
.ads-btn-outline   { background: transparent; color: var(--ads-navy); border-color: var(--ads-gray-200); }
.ads-btn-outline:hover { border-color: var(--ads-navy); background: var(--ads-gray-50); color: var(--ads-navy); }
.ads-btn-sm  { padding: 7px 16px; font-size: 0.82rem; }
.ads-btn-xs  { padding: 5px 12px; font-size: 0.78rem; }
.ads-btn-block { width: 100%; }

.ads-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.87rem;
    margin-bottom: 18px;
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-alert-error   { background: var(--ads-red-light); color: var(--ads-red); border: 1px solid rgba(200,32,26,0.2); }
.ads-alert-success { background: #e8f5ef; color: var(--ads-green); border: 1px solid rgba(10,124,80,0.2); }
.ads-alert-info    { background: #eef2ff; color: var(--ads-navy); border: 1px solid rgba(15,37,87,0.2); }

.ads-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--ads-gray-500);
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-auth-footer a { color: var(--ads-red); font-weight: 600; }
.ads-auth-divider {
    text-align: center;
    color: var(--ads-gray-500);
    font-size: 0.82rem;
    margin: 18px 0;
    position: relative;
}
.ads-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: var(--ads-border);
}
.ads-auth-divider span { background: #fff; padding: 0 10px; position: relative; }

/* ── Status badges ── */
.ads-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: capitalize;
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-status.active, .ads-status.approved { background: #e8f5ef; color: var(--ads-green); }
.ads-status.pending   { background: #fff8e1; color: var(--ads-yellow); }
.ads-status.draft     { background: var(--ads-gray-100); color: var(--ads-gray-500); }
.ads-status.rejected  { background: var(--ads-red-light); color: var(--ads-red); }
.ads-status.expired   { background: var(--ads-gray-100); color: var(--ads-gray-500); }
.ads-status.paid      { background: #e8f5ef; color: var(--ads-green); }
.ads-status.failed    { background: var(--ads-red-light); color: var(--ads-red); }
.ads-status.suspended { background: #fff3e0; color: #c84a1a; }

/* ─────────────────────────────────────────────────────────────
   DASHBOARD LAYOUT
   ───────────────────────────────────────────────────────────── */
.ads-dash-body {
    margin: 0;
    background: var(--ads-gray-50);
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-dash-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.ads-sidebar {
    width: 248px;
    background: var(--ads-navy);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.ads-sidebar-top {
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ads-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}
.ads-sidebar-logo img { height: 30px; }
.ads-sidebar-logo span { font-size: 1.15rem; font-weight: 800; color: #fff; font-family: 'Glassdoor Sans', sans-serif; }
.ads-sidebar-logo span em { color: #ff9f9a; font-style: normal; }

.ads-sidebar-user {
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 12px 14px;
}
.ads-sidebar-user-name { font-size: 0.88rem; font-weight: 700; color: #fff; }
.ads-sidebar-user-role {
    font-size: 0.71rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}

.ads-sidebar-nav { padding: 16px 12px; flex: 1; }
.ads-nav-section-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.28);
    padding: 12px 10px 6px;
    margin-top: 8px;
}
.ads-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.87rem;
    font-weight: 600;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
}
.ads-nav-link i { width: 18px; text-align: center; font-size: 0.9rem; flex-shrink: 0; }
.ads-nav-link:hover  { background: rgba(255,255,255,0.08); color: #fff; }
.ads-nav-link.active { background: var(--ads-red); color: #fff; }

.ads-sidebar-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.ads-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.15s;
}
.ads-sidebar-footer a:hover { color: #fff; }
.ads-sidebar-footer a i { width: 18px; text-align: center; }

/* Main dashboard content */
.ads-dash-main {
    margin-left: 248px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.ads-dash-topbar {
    background: #fff;
    border-bottom: 1px solid var(--ads-border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.ads-dash-topbar-title { font-weight: 700; color: var(--ads-navy); font-size: 1rem; font-family: 'Glassdoor Sans', sans-serif; }
.ads-dash-topbar-right { display: flex; align-items: center; gap: 14px; }
.ads-dash-topbar-right a { font-size: 0.84rem; color: var(--ads-gray-500); text-decoration: none; transition: color 0.15s; }
.ads-dash-topbar-right a:hover { color: var(--ads-navy); }

.ads-dash-content {
    padding: 28px 32px;
    flex: 1;
}
.ads-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ads-page-header h1 { font-size: 1.45rem; color: var(--ads-navy); font-family: 'Glassdoor Sans', sans-serif; }
.ads-page-header p  { color: var(--ads-gray-500); font-size: 0.85rem; margin-top: 3px; }
.ads-page-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Stat cards */
.ads-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.ads-stat-card {
    background: #fff;
    border: 1px solid var(--ads-border);
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 1px 4px rgba(15,37,87,0.06);
}
.ads-stat-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.ads-stat-icon.blue   { background: #eef2ff; color: var(--ads-navy); }
.ads-stat-icon.red    { background: var(--ads-red-light); color: var(--ads-red); }
.ads-stat-icon.green  { background: #e8f5ef; color: var(--ads-green); }
.ads-stat-icon.yellow { background: #fff8e1; color: var(--ads-yellow); }
.ads-stat-value { font-size: 1.65rem; font-weight: 800; color: var(--ads-navy); line-height: 1; font-family: 'Glassdoor Sans', sans-serif; }
.ads-stat-label { font-size: 0.76rem; font-weight: 600; color: var(--ads-gray-500); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.ads-stat-sub   { font-size: 0.74rem; color: var(--ads-gray-500); margin-top: 4px; }

/* Info card */
.ads-info-card {
    background: #fff;
    border: 1px solid var(--ads-border);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 1px 4px rgba(15,37,87,0.06);
    margin-bottom: 20px;
}
.ads-info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ads-border);
}
.ads-info-card-header h3 { font-size: 0.97rem; color: var(--ads-navy); font-family: 'Glassdoor Sans', sans-serif; }

/* Progress bar */
.ads-progress-wrap { background: var(--ads-gray-100); border-radius: 20px; height: 8px; overflow: hidden; }
.ads-progress-bar  { height: 100%; border-radius: 20px; transition: width 0.4s ease; }

/* Table */
.ads-table-card {
    background: #fff;
    border: 1px solid var(--ads-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,37,87,0.06);
    margin-bottom: 20px;
}
.ads-table-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--ads-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ads-table-card-header h3 { font-size: 0.95rem; color: var(--ads-navy); font-family: 'Glassdoor Sans', sans-serif; }
.ads-table-card-header a  { font-size: 0.82rem; color: var(--ads-red); text-decoration: none; font-weight: 600; }
.ads-table { width: 100%; border-collapse: collapse; font-family: 'Glassdoor Sans', sans-serif; }
.ads-table th {
    padding: 10px 18px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ads-gray-500);
    background: var(--ads-gray-50);
    border-bottom: 1px solid var(--ads-border);
}
.ads-table td {
    padding: 12px 18px;
    font-size: 0.87rem;
    color: #2d3748;
    border-bottom: 1px solid #f0f2f8;
    vertical-align: middle;
}
.ads-table tr:last-child td { border-bottom: none; }
.ads-table tr:hover td { background: var(--ads-gray-50); }
.ads-table-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--ads-gray-500);
}
.ads-table-empty i { font-size: 2.2rem; opacity: 0.3; display: block; margin-bottom: 10px; }

/* Filter/search row */
.ads-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.ads-filter-row .ads-form-control { max-width: 260px; padding: 9px 14px; }

/* Pagination */
.ads-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 20px;
    border-top: 1px solid var(--ads-border);
}
.ads-page-num {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--ads-gray-500);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ads-page-num:hover  { background: var(--ads-gray-100); color: var(--ads-navy); }
.ads-page-num.active { background: var(--ads-navy); color: #fff; }

/* Mobile sidebar toggle */
.ads-mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--ads-navy);
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .ads-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s;
    }
    .ads-sidebar.open { transform: translateX(0); }
    .ads-dash-main   { margin-left: 0; }
    .ads-mobile-menu-btn { display: flex; }
    .ads-dash-content { padding: 20px 16px; }
    .ads-stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ads-stat-row { grid-template-columns: 1fr 1fr; }
    .ads-auth-card { padding: 28px 20px; }
}

/* ── Partner Tier Cards ── */
.ads-tier-card {
    position: relative;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ads-tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.ads-tier-card--featured {
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
}
.ads-tier-card--featured:hover {
    box-shadow: 0 20px 48px rgba(245, 158, 11, 0.45);
}
.ads-tier-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.ads-tier-featured-badge {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #F59E0B;
    margin-bottom: 10px;
}
.ads-tier-badge {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ads-tier-rate {
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    color: var(--ads-navy);
    margin-bottom: 6px;
}
.ads-tier-rate span {
    font-size: 32px;
    font-weight: 700;
    vertical-align: super;
    line-height: 1;
}
.ads-tier-threshold {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 24px;
    font-style: italic;
}
.ads-tier-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.ads-tier-perks li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #374151;
    font-size: 0.88rem;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
}
.ads-tier-perks li:last-child { border-bottom: none; }
.ads-tier-perks li i {
    font-size: 0.75rem;
    color: #16a34a;
    flex-shrink: 0;
}
.ads-tier-btn {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ads-navy);
    color: var(--ads-navy);
    background: transparent;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
}
.ads-tier-btn:hover {
    background: var(--ads-navy);
    color: #fff;
    text-decoration: none;
}
.ads-tier-card--featured .ads-tier-btn {
    background: #F59E0B;
    border-color: #F59E0B;
    color: #1a1a1a;
}
.ads-tier-card--featured .ads-tier-btn:hover {
    background: #d97706;
    border-color: #d97706;
    color: #1a1a1a;
}

/* ── Ads browse page ── */

/* Intro bar */
.ads-page-intro {
    background: var(--ads-navy);
    padding: 40px 0;
}
.ads-page-intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.ads-page-intro-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}
.ads-page-intro-sub {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    margin: 0;
}
.ads-page-intro-meta {
    display: flex;
    align-items: center;
    gap: 32px;
}
.ads-page-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.ads-page-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.ads-page-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ads-page-claim-btn {
    display: inline-block;
    background: var(--ads-red);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 11px 24px;
    text-decoration: none;
    transition: background 0.2s;
}
.ads-page-claim-btn:hover { background: #a81a15; color: #fff; text-decoration: none; }

/* Category tabs */
.ads-page-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
    position: sticky;
    top: 0;
    z-index: 50;
}
.ads-page-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.ads-page-tabs::-webkit-scrollbar { display: none; }
.ads-page-tab {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 16px 22px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.ads-page-tab:hover { color: var(--ads-navy); }
.ads-page-tab.active {
    color: var(--ads-navy);
    border-bottom-color: var(--ads-red);
}

/* Grid section */
.ads-page-grid-section {
    background: #f5f7fb;
    padding: 48px 0 80px;
}

/* Ad slot card */
.ads-slot-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,37,87,0.07), 0 4px 16px rgba(15,37,87,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ads-slot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(15,37,87,0.12);
}
.ads-slot-image {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}
.ads-slot-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.ads-slot-image--empty {
    background: #eef0f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ads-slot-ph-icon {
    font-size: 2.2rem;
    color: #c5ccd8;
}
.ads-slot-ph-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b0b9c8;
}
.ads-slot-format {
    font-size: 0.65rem;
    color: #c5ccd8;
    letter-spacing: 0.06em;
}
.ads-slot-sponsored {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.6rem;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    background: rgba(0,0,0,0.35);
    padding: 1px 6px;
}
.ads-slot-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--ads-navy);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
}
.ads-slot-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ads-slot-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ads-navy);
    margin-bottom: 6px;
    line-height: 1.35;
}
.ads-slot-desc {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ads-slot-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ads-red);
    text-decoration: none;
    margin-top: auto;
}
.ads-slot-link:hover { text-decoration: underline; color: var(--ads-red); }

/* Available slot variant */
.ads-slot-avail-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}
.ads-slot-avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}
.ads-slot-avail-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #16a34a;
}
.ads-slot-avail-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}
.ads-slot-claim-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ads-navy);
    text-decoration: none;
    border-top: 1px solid #f0f2f5;
    padding-top: 12px;
    margin-top: auto;
    display: block;
}
.ads-slot-claim-link:hover { color: var(--ads-red); text-decoration: none; }

/* Bottom CTA */
.ads-page-cta-section {
    padding: 90px 0;
}
.ads-page-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.ads-page-cta-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ── Ads empty state ── */
.ads-empty-state {
    text-align: center;
    padding: 80px 20px;
}
.ads-empty-icon {
    font-size: 3rem;
    color: #c8d0dc;
    margin-bottom: 20px;
}
.ads-empty-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ads-navy);
    margin-bottom: 10px;
}
.ads-empty-sub {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* ── Banner ad units (318×106 — 3:1 ratio) ── */
.ads-banner-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ads-banner-link {
    display: block;
    position: relative;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: #e8ecf2;
    text-decoration: none;
    transition: opacity 0.2s;
}
.ads-banner-link:hover { opacity: 0.9; text-decoration: none; }
.ads-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ads-banner-empty {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ads-navy);
}
.ads-banner-empty-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 16px;
    text-align: center;
}
.ads-banner-sponsored {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 0.55rem;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.3);
    padding: 1px 5px;
    pointer-events: none;
}
.ads-banner-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
}
.ads-banner-cat {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}
.ads-banner-avail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #16a34a;
}
.ads-banner-avail-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

/* Available slot placeholder */
.ads-banner-slot {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f0f2f6;
    border: 1px dashed #c8d0dc;
    transition: background 0.2s;
}
.ads-banner-wrap--available .ads-banner-link:hover .ads-banner-slot {
    background: #e8ecf4;
}
.ads-banner-slot-size {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #b0b9c8;
    text-transform: uppercase;
}
.ads-banner-slot-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a94a6;
    letter-spacing: 0.04em;
}
.ads-banner-slot-cta {
    font-size: 0.68rem;
    color: var(--ads-red);
    font-weight: 600;
    margin-top: 2px;
}

/* ============================================================
   REUSABLE PREMIUM TABLE CONTROLS & FILTERS
   ============================================================ */
.ads-table-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f7;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
}
.ads-table-control-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}
.ads-search-wrapper {
    position: relative;
    width: 320px;
}
@media (max-width: 576px) {
    .ads-search-wrapper {
        width: 100%;
    }
}
.ads-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8896b0;
    font-size: 1rem;
    pointer-events: none;
}
.ads-search-control {
    width: 100%;
    padding: 9px 14px 9px 38px !important;
    border: 1px solid #dde2ec !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: #1e2a45 !important;
    outline: none !important;
    font-family: inherit !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}
.ads-search-control:focus {
    background: #fff !important;
    border-color: #0F2557 !important;
    box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.06) !important;
}
.ads-filter-control {
    padding: 9px 16px !important;
    border: 1px solid #dde2ec !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: #555 !important;
    background: #f8fafc !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    box-shadow: none !important;
}
.ads-filter-control:focus {
    background: #fff !important;
    border-color: #0F2557 !important;
    box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.06) !important;
}

/* ============================================================
   TRUE CUSTOM SELECT DROPDOWNS & FILTER BAR REDESIGN
   ============================================================ */

/* Custom Select Dropdown Container */
.ads-custom-select {
    position: relative;
    display: inline-block;
    min-width: 170px;
    font-family: 'Glassdoor Sans', sans-serif;
    user-select: none;
}

/* Trigger Button */
.ads-custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #dde2ec;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e2a45;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15,37,87,0.02);
}
.ads-custom-select-trigger:hover {
    border-color: #0F2557;
    background: #fbfcfd;
}
.ads-custom-select-trigger.active {
    border-color: #0F2557;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.08);
}
.ads-custom-select-trigger .chevron-icon {
    font-size: 0.72rem;
    color: #5F6C8F;
    transition: transform 0.2s ease;
    margin-left: 12px;
}
.ads-custom-select-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Options Panel */
.ads-custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #dde2ec;
    box-shadow: 0 12px 32px rgba(15, 37, 87, 0.12);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 250px;
    overflow-y: auto;
}
.ads-custom-select-options.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom Scrollbar for Dropdown Menu */
.ads-custom-select-options::-webkit-scrollbar {
    width: 6px;
}
.ads-custom-select-options::-webkit-scrollbar-track {
    background: #f8fafc;
}
.ads-custom-select-options::-webkit-scrollbar-thumb {
    background: #cdd4e2;
}
.ads-custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #aeb8cc;
}

/* Dropdown Option Items */
.ads-custom-option {
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #5F6C8F;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ads-custom-option:hover {
    background: #f8fafc;
    color: #0F2557;
}
.ads-custom-option.selected {
    background: #f1f5f9;
    color: #0F2557;
    font-weight: 700;
}
.ads-custom-option.selected::after {
    content: "✓";
    font-size: 0.8rem;
    color: var(--ads-red);
    font-weight: 800;
}

/* Responsive Search Form Hero */
.ads-search-form {
    display: flex;
    background: #ffffff;
    padding: 5px;
    border-radius: 0;
    border: 1px solid #dde2ec;
    box-shadow: 0 8px 24px rgba(15,37,87,0.06);
    transition: all 0.2s ease;
}
.ads-search-input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}
.ads-search-input-wrap input {
    width: 100%;
    padding: 13px 16px 13px 48px;
    background: transparent;
    border: none;
    color: #1e2a45;
    font-size: 0.92rem;
    outline: none;
    font-family: 'Glassdoor Sans', sans-serif;
}
.ads-search-submit {
    background: var(--ads-red);
    color: #ffffff;
    border: none;
    padding: 0 28px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.ads-search-submit:hover {
    background: var(--ads-red-dark);
}

@media (max-width: 576px) {
    .ads-search-form {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }
    .ads-search-input-wrap {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }
    .ads-search-input-wrap input {
        padding: 12px 12px 12px 42px;
    }
    .ads-search-input-wrap i {
        left: 12px !important;
    }
    .ads-search-submit {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Control Bar Layout & Selects */
.ads-control-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.ads-control-bar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ads-control-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ads-select-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .ads-control-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .ads-control-bar-left {
        width: 100%;
    }
    .ads-control-bar-right {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: end;
    }
    .ads-select-group {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .ads-select-group > span {
        margin-right: 0 !important;
        font-size: 0.72rem;
    }
    .ads-custom-select {
        width: 100%;
        min-width: 0 !important;
    }
    .ads-custom-select-trigger {
        width: 100%;
        box-sizing: border-box;
    }
    /* "Place a Banner" button placement spanning 2 columns */
    .ads-control-bar-right > .pbmit-btn {
        grid-column: span 2;
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
    }
    
    /* Double size panels to prevent truncation on side-by-side selectors */
    #categorySelect .ads-custom-select-options {
        width: 200%;
        left: 0;
    }
    #sortSelect .ads-custom-select-options {
        width: 200%;
        right: 0;
        left: auto;
    }
}

/* Ensure mobile drawer auth buttons show correct text colors */
.navigation > li > a.pbmit-btn {
    font-family: 'Glassdoor Sans', sans-serif !important;
}
.navigation > li > a.pbmit-btn-outline {
    color: var(--ads-red) !important;
    border-color: var(--ads-red) !important;
    background-color: transparent !important;
}
.navigation > li > a.pbmit-btn-outline:hover {
    color: #fff !important;
    background-color: var(--ads-red) !important;
}
.navigation > li > a.pbmit-btn:not(.pbmit-btn-outline) {
    color: #fff !important;
    background-color: var(--ads-red) !important;
}
.navigation > li > a.pbmit-btn:not(.pbmit-btn-outline):hover {
    background-color: var(--ads-red-dark) !important;
    color: #fff !important;
}

/* Fix header overlay stacking context on pages with relative heroes (like the Article page) */
.pbmit-header-overlay {
    z-index: 99 !important;
}

/* Grayscale filter for specific card box images */
.pbmit-element-card-box-style-1 .pbmit-content-box .pbmit-card-box-item-image img {
    filter: grayscale(1) !important;
}

/* ============================================================
   WIZARD & AD CREATION STYLING
   ============================================================ */

/* Wizard Step Progress Bar */
.ads-wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 36px;
    padding: 0 10px;
}

.ads-wizard-progress::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.ads-wizard-progress-bar {
    position: absolute;
    top: 20px;
    left: 10%;
    width: 0%; /* Dynamic width based on current step */
    height: 3px;
    background: var(--ads-red, #C8201A);
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ads-wizard-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.ads-wizard-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #dde2ec;
    color: #8896b0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(15, 37, 87, 0.02);
}

.ads-wizard-step.active .ads-wizard-step-icon {
    border-color: var(--ads-red, #C8201A);
    background: var(--ads-red, #C8201A);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(200, 32, 26, 0.2);
}

.ads-wizard-step.completed .ads-wizard-step-icon {
    border-color: #0A7C50;
    background: #0A7C50;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 124, 80, 0.2);
}

.ads-wizard-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8896b0;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.ads-wizard-step.active .ads-wizard-step-label {
    color: #0F2557;
    font-weight: 700;
}

.ads-wizard-step.completed .ads-wizard-step-label {
    color: #0A7C50;
}

/* Step Content Panels */
.ads-wizard-panel {
    display: none;
    animation: fadeInSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ads-wizard-panel.active {
    display: block;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Upload drag and drop zone */
.ads-upload-zone {
    border: 2px dashed #dde2ec;
    border-radius: 8px;
    padding: 36px 20px;
    text-align: center;
    background: #fdfdfe;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.ads-upload-zone:hover, .ads-upload-zone.dragover {
    border-color: var(--ads-red, #C8201A);
    background: rgba(200, 32, 26, 0.02);
}

/* Premium Preview Card Mockup */
.ads-mockup-container {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ads-mockup-header-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8896b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

/* Visual Card Mockup mimicking the frontend design */
.ads-mockup-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(15, 37, 87, 0.04);
    border: 1px solid #edf0f5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ads-mockup-banner {
    position: relative;
    aspect-ratio: 1200/628;
    background: #EEF1F8;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}

.ads-mockup-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.ads-mockup-banner.has-img img {
    display: block;
}

.ads-mockup-banner.has-img .placeholder-text {
    display: none;
}

.ads-mockup-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ads-red, #C8201A);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ads-mockup-body {
    padding: 20px;
}

.ads-mockup-meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ads-red, #C8201A);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ads-mockup-ad-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F2557;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.ads-mockup-ad-desc {
    font-size: 0.84rem;
    color: #556885;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.ads-mockup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #0F2557;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.ads-mockup-btn:hover {
    background: #0a1a3e;
    color: #ffffff;
}

/* Character Counter style */
.char-counter {
    float: right;
    font-size: 0.75rem;
    color: #8896b0;
    margin-top: 4px;
}

/* Footer Newsletter Focus Styling Override */
.pbmit-footer-newsletter .form-control {
    background: transparent !important;
    color: #fff !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    transition: border-color 0.2s !important;
}

.pbmit-footer-newsletter .form-control:focus {
    background: transparent !important;
    color: #fff !important;
    border-bottom-color: #C8201A !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 767px) {
    .pbmit-title-bar-wrapper, .pbmit-title-bar-content {
        min-height: 340px !important;
    }
    .pbmit-title-bar-content {
        padding: 20px 0 !important;
    }
    .pbmit-tbar-title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
    }
}

/* Beautiful, Premium Pagination Styling */
.pagination {
    display: flex !important;
    padding-left: 0 !important;
    list-style: none !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px 0 !important;
}

.page-item {
    display: inline-block !important;
}

.page-item .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #0F2557 !important;
    background-color: #fff !important;
    border: 1.5px solid #E8ECF2 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

.page-item .page-link:hover {
    color: #C8201A !important;
    background-color: #FDF1F1 !important;
    border-color: rgba(200, 32, 26, 0.2) !important;
}

.page-item.active .page-link {
    color: #fff !important;
    background-color: #C8201A !important;
    border-color: #C8201A !important;
    box-shadow: 0 4px 10px rgba(200, 32, 26, 0.25) !important;
}

.page-item.disabled .page-link {
    color: #8896b0 !important;
    background-color: #fafbfd !important;
    border-color: #E8ECF2 !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
}

.page-item .page-link svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5px !important;
}


