body {
    background: #f4f6f9;
}

.hero-section {
    min-height: 420px;
}

.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at top, #ffffff 0, #f4f6f9 45%, #e9eef5 100%);
}

.auth-card {
    border-radius: 1rem;
}

.dashboard-page {
    background: #f4f6f9;
}

.dashboard-sidebar {
    min-height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
}

.sidebar-menu .list-group-item {
    border: 0;
    font-weight: 500;
}

.card-stat {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.table-responsive {
    border-radius: 0.75rem;
}

.dashboard-sidebar {
    min-height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
}

.admin-table th {
    white-space: nowrap;
    font-size: 0.825rem;
    text-transform: uppercase;
    color: #6c757d;
}

.admin-table td {
    font-size: 0.925rem;
}

.admin-queue-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.admin-queue-card:hover {
    background: #f8f9fa;
}

.admin-queue-card span {
    color: #6c757d;
}

.admin-queue-card strong {
    font-size: 1.5rem;
}

@media (max-width: 991.98px) {
    .dashboard-sidebar {
        position: static;
        min-height: auto;
    }
}


/* ===== app-ui-polish.css ===== */
/* WorldPPC UI polish additions */
.landing-page {
    background: #f6f8fb;
    color: #14213d;
}

.py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-pro {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
}

.hero-card-header {
    background: #111827;
    padding: 0.85rem 1rem;
}

.dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-right: 6px;
}

.overview-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef2f7;
}

.overview-item:last-child {
    border-bottom: 0;
}

.overview-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 42px;
}

.mini-stat {
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.info-panel {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.04);
}

.info-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.info-box strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #111827;
}

.info-box span {
    display: block;
    color: #6b7280;
    font-size: 0.92rem;
}

.feature-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    color: #334155;
}

.step-card,
.payment-card,
.security-card {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 0.4rem 1.2rem rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover,
.payment-card:hover,
.security-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.step-number {
    width: 46px;
    height: 46px;
    background: #0d6efd;
    color: #ffffff;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section {
    background: #ffffff;
}

.cta-box {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #0d6efd 0%, #0f172a 100%);
    border-radius: 1.75rem;
    padding: 4rem 2rem;
    box-shadow: 0 1rem 2.5rem rgba(13, 110, 253, 0.18);
}

.register-card {
    border-radius: 1.25rem;
}

.role-info-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.role-info-card.active {
    border-color: #0d6efd;
    background: #f8fbff;
    box-shadow: 0 0.5rem 1.5rem rgba(13, 110, 253, 0.08);
}

.dashboard-hero {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 0.4rem 1.2rem rgba(15, 23, 42, 0.04);
}

.advertiser-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.publisher-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f3fff8 100%);
}

.admin-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
}

.dashboard-checklist {
    display: grid;
    gap: 0.9rem;
}

.dashboard-checklist div {
    border: 1px solid #edf2f7;
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    background: #f8fafc;
}

.dashboard-checklist strong {
    display: block;
    color: #111827;
    margin-bottom: 0.2rem;
}

.dashboard-checklist span {
    display: block;
    color: #6b7280;
    font-size: 0.92rem;
}

.card-stat {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.8rem rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    .hero-pro {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .display-4 {
        font-size: 2.35rem;
    }

    .display-6 {
        font-size: 1.9rem;
    }

    .info-panel {
        padding: 1.25rem;
    }

    .cta-box {
        padding: 2.5rem 1.25rem;
    }

    .dashboard-hero {
        padding: 1.25rem;
    }
}


/* ===== app-membership.css ===== */
.membership-plan-card {
    border: 1px solid #dbe5f1 !important;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.membership-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.10) !important;
}

.membership-featured {
    border-color: #0d6efd !important;
    box-shadow: 0 0.8rem 1.8rem rgba(13, 110, 253, 0.10) !important;
}

.membership-plan-divider {
    margin: 0.5rem 0 1.15rem;
    border-color: #dbe5f1;
    opacity: 1;
}

.membership-plan-description {
    color: #334155 !important;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.membership-plan-badge {
    display: inline-block;
    max-width: 4.5rem;
    padding: 0.32rem 0.52rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.membership-standard {
    border: 1px solid #dbe5f1;
    background: #f8fafc;
    color: #0f172a;
}

.membership-popular {
    background: #2563eb;
    color: #ffffff;
}

.membership-best-value {
    background: #009d6d;
    color: #ffffff;
}

.membership-feature-list {
    font-size: 0.8rem;
}

.membership-feature-list li {
    display: flex;
    gap: 0.55rem;
    padding: 0.36rem 0;
    color: #0f172a;
    line-height: 1.42;
}

.membership-check {
    flex: 0 0 auto;
    color: #0d6efd;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.15;
}

.membership-admin-plan {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.membership-hero {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}


/* ===== app-membership-activation.css ===== */
.membership-payment-alert {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.04));
}

.membership-status-card {
    border-left: 4px solid #0d6efd !important;
}

.membership-plan-card .btn {
    font-weight: 700;
}

.admin-table td {
    vertical-align: middle;
}


/* ===== app-membership-limits.css ===== */
.membership-limits-table input[type="number"] {
    min-width: 110px;
}

.membership-limit-mini {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.membership-limit-mini span {
    display: block;
    font-size: .82rem;
    color: #6b7280;
    margin-bottom: .25rem;
}

.membership-limit-mini strong {
    display: block;
    font-size: 1.2rem;
    color: #111827;
}


/* ===== app-membership-ads-priority.css ===== */
.membership-priority-note {
    border-left: 4px solid #0d6efd;
}

select[name="country_targeting[]"] {
    min-height: 220px;
}
