
    :root {
        --primary-teal: #00796b;
        --teal-light-bg: #e0f2f1;
        --stats-box-bg: #f4f7f9;
        --badge-orange-bg: #fef3d6;
        --badge-orange-text: #d97706;
        --badge-green-bg: #dcfce7;
        --badge-green-text: #16a34a;
        --text-dark: #111827;
        --text-muted: #6b7280;
        --divider-color: #e5e7eb;
    }

    body {
        background-color: #f8fafc;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    }

    /* Section Header */
    .section-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .section-bar {
        width: 4px;
        height: 22px;
        background-color: var(--primary-teal);
        border-radius: 2px;
    }

    .section-title {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
    }

    /* Compact Card Structure */
    .plan-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 18px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
        border: 1px solid #f0f0f0;
        position: relative;
        overflow: hidden;
        height: 100%;
        max-width: 370px; /* Fixes card width to match image size */
        margin: 0 auto;
    }

    .plan-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background-color: var(--primary-teal);
    }

    /* Badges */
    .badge-category {
        background-color: var(--badge-orange-bg);
        color: var(--badge-orange-text);
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.5px;
        padding: 5px 8px;
        border-radius: 6px;
        text-transform: uppercase;
    }

    .badge-status {
        background-color: var(--badge-green-bg);
        color: var(--badge-green-text);
        font-size: 0.68rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        text-transform: uppercase;
    }

    .status-dot {
        width: 5px;
        height: 5px;
        background-color: var(--badge-green-text);
        border-radius: 50%;
    }

    /* Card Typography */
    .plan-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-top: 12px;
        margin-bottom: 6px;
    }

    .plan-date {
        color: var(--text-muted);
        font-size: 0.85rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 16px;
    }

    .plan-date .material-symbols-outlined {
        font-size: 16px;
    }

    /* Compact Statistics Box */
    .stats-box {
        background-color: var(--stats-box-bg);
        border-radius: 14px;
        padding: 8px 14px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
    }

    .stat-item:not(:last-child) {
        border-bottom: 2px solid var(--divider-color);
    }

    .stat-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stat-icon-wrapper {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: var(--teal-light-bg);
        color: var(--primary-teal);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .stat-icon-wrapper .material-symbols-outlined {
        font-size: 15px;
    }

    .stat-label {
        color: var(--text-muted);
        font-size: 0.82rem;
        font-weight: 500;
    }

    .stat-value {
        color: var(--text-dark);
        font-weight: 700;
        font-size: 0.85rem;
    }

    /* Swiper Container Spacing */
    .swiper {
        padding: 10px 5px 40px 5px !important;
    }

    .swiper-pagination-bullet-active {
        background-color: var(--primary-teal) !important;
    }






    /**********************************************************
     AVAILABLE PLANS SECTION (EXACT SCREENSHOT DESIGN MATCH)
     **********************************************************/

:root {
    --plan-dark: #0f172a;
    --plan-muted: #64748b;
    --plan-border-default: #edf2f7;
    --plan-selected-border: #005c53;
    --plan-selected-glow: rgba(0, 92, 83, 0.12);
    --plan-badge-bg: #fff7ed;
    --plan-badge-text: #d97706;
    --plan-spec-bg: #f0f8fa;
    --plan-spec-icon-bg: #e0f2f4;
    --plan-spec-icon-color: #0d9488;
    --plan-valid-green: #059669;
    --plan-boost-bg-default: #f8fafc;
    --plan-boost-border-default: #e2e8f0;
    --plan-boost-bg-active: #fff9ec;
    --plan-boost-border-active: #fcd34d;
    --plan-boost-amber: #d97706;
    --plan-btn-orange-start: #f59e0b;
    --plan-btn-orange-end: #e68a00;
}

/* Material Symbols configuration */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.material-symbols-outlined.fill-icon {
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

/* Section Wrapper */
.available-plans-section {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--plan-dark);
}

.available-plans-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--plan-dark);
    letter-spacing: -0.2px;
}

/* Plan Card Base */
.custom-plan-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    border: 1.5px solid var(--plan-border-default);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.custom-plan-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06);
}

/* Selected State */
.custom-plan-card.is-selected {
    border: 2px solid var(--plan-selected-border) !important;
    box-shadow: 0 12px 30px -4px var(--plan-selected-glow), 0 4px 12px -2px rgba(0, 92, 83, 0.05);
}

/* Badge (CLICK ONLY) */
.plan-badge-pill {
    background-color: var(--plan-badge-bg);
    color: var(--plan-badge-text);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

/* Custom Radio Indicator */
.plan-radio-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.plan-radio-indicator .check-icon {
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
    opacity: 0;
    transform: scale(0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-plan-card.is-selected .plan-radio-indicator {
    background-color: var(--plan-selected-border);
    border-color: var(--plan-selected-border);
}

.custom-plan-card.is-selected .plan-radio-indicator .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Plan Heading & Price */
.plan-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plan-dark);
    margin-top: 10px;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.plan-price-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--plan-dark);
    letter-spacing: -0.3px;
    line-height: 1.1;
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s ease;
}

.plan-price-val.price-animating {
    transform: scale(1.08);
    color: var(--plan-badge-text);
}

.plan-price-period {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--plan-muted);
}

.plan-vat-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--plan-muted);
    margin-top: 6px;
}

.plan-vat-info .material-symbols-outlined {
    font-size: 15px;
    color: #94a3b8;
}

/* 2x2 Feature Box (Spec Grid) */
.plan-spec-grid {
    background-color: var(--plan-spec-bg);
    border-radius: 18px;
    padding: 8px 12px;
    margin-top: 18px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
}

.spec-item:nth-child(1),
.spec-item:nth-child(2) {
    border-bottom: 1px solid rgba(203, 225, 230, 0.7);
}

.spec-item:nth-child(2),
.spec-item:nth-child(4) {
    padding-left: 14px;
}

.spec-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--plan-spec-icon-bg);
    color: var(--plan-spec-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon-wrap .material-symbols-outlined {
    font-size: 17px;
}

.spec-val {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--plan-dark);
    line-height: 1.15;
}

.spec-lbl {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--plan-muted);
    display: block;
    margin-top: 1px;
}

/* Validity Box */
.plan-validity-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.plan-validity-box .validity-icon {
    color: var(--plan-valid-green);
    font-size: 18px;
    font-variation-settings: 'FILL' 1;
}

/* Boost Ad Box */
.boost-card-box {
    background-color: var(--plan-boost-bg-default);
    border: 1.5px solid var(--plan-boost-border-default);
    border-radius: 16px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.boost-card-box:hover {
    border-color: #cbd5e1;
}

.boost-left {
    display: flex;
    align-items: center;
}

.boost-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e8edf3;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.boost-icon-badge .material-symbols-outlined {
    font-size: 18px;
}

.boost-meta {
    margin-left: 10px;
}

.boost-txt-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--plan-dark);
    margin: 0;
    line-height: 1.2;
}

.boost-txt-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--plan-muted);
    margin: 0;
    line-height: 1.2;
    transition: color 0.25s ease;
}

/* Boost Box Active / Boosted State */
.boost-card-box.is-boosted {
    background-color: var(--plan-boost-bg-active) !important;
    border-color: var(--plan-boost-border-active) !important;
}

.boost-card-box.is-boosted .boost-icon-badge {
    background-color: #fef3c7 !important;
    color: var(--plan-boost-amber) !important;
}

.boost-card-box.is-boosted .boost-txt-price {
    color: var(--plan-boost-amber) !important;
    font-weight: 700 !important;
}

/* Custom Toggle Switch */
.custom-toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-toggle-switch input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #94a3b8;
    background-color: transparent;
    border-radius: 26px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.toggle-thumb {
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #94a3b8;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
    pointer-events: none;
    z-index: 1;
}

.custom-toggle-switch input:checked + .toggle-track,
.boost-card-box.is-boosted .toggle-track {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
}

.custom-toggle-switch input:checked + .toggle-track .toggle-thumb,
.boost-card-box.is-boosted .toggle-thumb {
    transform: translateX(20px) !important;
    background-color: #ffffff !important;
}

/* Action Button */
.btn-plan-action {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid var(--plan-selected-border);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--plan-selected-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-plan-action:hover {
    background-color: #f0fdf9;
    transform: translateY(-1px);
}

.btn-plan-action .btn-icon {
    font-size: 19px;
    transition: transform 0.2s ease;
}

/* State 1: Card Selected (Boost OFF) -> TEAL Button "The box" (Matches new screenshot) */
.custom-plan-card.is-selected .btn-plan-action,
.btn-plan-action.btn-teal-selected {
    background: var(--plan-selected-border) !important;
    background-color: var(--plan-selected-border) !important;
    border-color: var(--plan-selected-border) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 92, 83, 0.28);
}

.custom-plan-card.is-selected .btn-plan-action:hover,
.btn-plan-action.btn-teal-selected:hover {
    background-color: #006f64 !important;
    border-color: #006f64 !important;
    box-shadow: 0 6px 18px rgba(0, 92, 83, 0.38);
    transform: translateY(-1px);
}

/* State 2: Boost Active (Toggle ON) -> ORANGE Button "The box" (Matches first screenshot) */
.custom-plan-card.is-selected .boost-card-box.is-boosted ~ .btn-plan-action,
.custom-plan-card.is-boosted .btn-plan-action,
.btn-plan-action.btn-orange-boosted {
    background: linear-gradient(180deg, var(--plan-btn-orange-start) 0%, var(--plan-btn-orange-end) 100%) !important;
    border-color: var(--plan-btn-orange-end) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(230, 138, 0, 0.35) !important;
}

.custom-plan-card.is-selected .boost-card-box.is-boosted ~ .btn-plan-action:hover,
.custom-plan-card.is-boosted .btn-plan-action:hover,
.btn-plan-action.btn-orange-boosted:hover {
    background: linear-gradient(180deg, #fbb03b 0%, #e07f00 100%) !important;
    box-shadow: 0 6px 18px rgba(230, 138, 0, 0.45) !important;
    transform: translateY(-1px);
}


/**********************************************************
 MY ADVERTISEMENTS PAGE (PLANS.HTML)
 **********************************************************/

.my-ads-page {
    background-color: #f8fafc;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #0f172a;
}

.my-ads-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.my-ads-subtitle {
    font-size: 0.92rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* Create New Advertisement Button */
.btn-create-ad {
    background-color: #004d40;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.2);
    text-decoration: none;
}

.btn-create-ad:hover {
    background-color: #006056;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 77, 64, 0.28);
}

.btn-create-label {
    padding: 10px 18px;
    display: inline-block;
}

.btn-create-icon {
    padding: 10px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-create-icon .material-symbols-outlined {
    font-size: 20px;
}

/* Advertisement List Card */
.ad-item-card {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 22px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.25s ease;
}

.ad-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px -4px rgba(15, 23, 42, 0.06);
}

/* Left Group (Thumb + Main Info) */
.ad-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.ad-item-thumb {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Content Area */
.ad-item-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ad-item-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ad-item-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Stats in Header */
.ad-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
}

.ad-stat-item .material-symbols-outlined {
    font-size: 16px;
    color: #94a3b8;
}

/* Badge (Basic Ads) */
.ad-badge-type {
    background-color: #e0f2f1;
    color: #00796b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

/* Placement Meta */
.ad-meta-placement {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Schedule Dates */
.ad-schedule-box {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
}

.ad-schedule-box .material-symbols-outlined {
    font-size: 16px;
    color: #94a3b8;
    margin-top: 1px;
}

.ad-schedule-dates {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

/* Status Badges (Active, Ended, Verified) */
.ad-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.ad-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.ad-status-badge.status-active {
    background-color: #ecfdf5;
    color: #10b981;
}

.ad-status-badge.status-active .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

.ad-status-badge.status-ended {
    background-color: #f1f5f9;
    color: #64748b;
}

.ad-status-badge.status-ended .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #64748b;
}

.ad-status-badge.status-verified {
    background-color: #f0fdfa;
    color: #0d9488;
}

.ad-status-badge.status-verified .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #0d9488;
}

/* Right Actions Group */
.ad-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Green Toggle Switch */
.ad-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    margin: 0;
    cursor: pointer;
}

.ad-toggle-switch input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.ad-toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 26px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.ad-toggle-thumb {
    position: absolute;
    height: 18px;
    width: 18px;
    left: 4px;
    top: 4px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.ad-toggle-switch input:checked + .ad-toggle-track {
    background-color: #48bb78;
}

.ad-toggle-switch input:checked + .ad-toggle-track .ad-toggle-thumb {
    transform: translateX(22px);
}

/* Action Circle Buttons */
.btn-ad-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: none;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-ad-circle:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

.btn-ad-circle .material-symbols-outlined {
    font-size: 18px;
}

.btn-ad-circle.btn-edit {
    color: #0284c7;
}

.btn-ad-circle.btn-edit:hover {
    background-color: #e0f2fe;
    color: #0369a1;
}

/* Responsive adjustment for small screens */
@media (max-width: 767.98px) {
    .ad-item-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .ad-item-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .ad-item-thumb {
        width: 100%;
        height: 160px;
    }
    .ad-item-actions {
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid #f1f5f9;
        padding-top: 12px;
    }
}

/**********************************************************
 CREATE ADVERTISEMENT FORM PAGE (ADVERTISEMENT.HTML)
 **********************************************************/

.ad-page-body {
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    min-height: 100vh;
}

/* Header Elements */
.ad-top-header {
    max-width: 1200px;
    margin: 0 auto;
}

.btn-ad-back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #e6f4f2;
    color: #005c53;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: none;
}

.btn-ad-back:hover {
    background-color: #d1ebe7;
    color: #004840;
    transform: translateY(-1px);
}

.btn-ad-back .material-symbols-outlined {
    font-size: 20px;
}

.ad-page-title {
    font-size: 1.38rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
    margin-bottom: 2px;
    line-height: 1.25;
}

.ad-page-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.35;
}

/* Centered Form Container */
.ad-form-center-wrapper {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Ad Form Card */
.ad-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    box-shadow: 0 2px 14px -3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Card Header Banner */
.ad-card-header {
    background-color: #eef8f6;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 92, 83, 0.05);
}

.ad-card-header .header-icon {
    font-size: 18px;
    color: #005c53;
    font-weight: 600;
}

.ad-card-header .header-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #005c53;
    margin: 0;
}

/* Card Body */
.ad-card-body {
    padding: 22px 24px 20px;
}

/* Form Field Labels */
.ad-field-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.ad-field-label .label-required {
    color: #ef4444;
    font-size: 0.92rem;
    font-weight: 800;
}

.ad-field-label .label-info {
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s ease;
}

.ad-field-label .label-info:hover {
    color: #005c53;
}

/* Pill Input Controls */
.ad-pill-input {
    width: 100%;
    height: 48px;
    border-radius: 28px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    background-color: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-pill-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Red / Coral Bordered Input (Matches Screenshots 1 & 2 for Title & Starts at) */
.ad-pill-input.border-coral {
    border: 1.5px solid #f87171;
}

.ad-pill-input.border-coral:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Teal Bordered Input (Matches Screenshot 1 for Target URL) */
.ad-pill-input.border-teal {
    border: 1.5px solid #005c53;
}

.ad-pill-input.border-teal:focus {
    border-color: #005c53;
    box-shadow: 0 0 0 3px rgba(0, 92, 83, 0.15);
}

/* Pill Dropdown Select */
.ad-select-wrapper {
    position: relative;
    width: 100%;
}

.ad-pill-select {
    width: 100%;
    height: 48px;
    border-radius: 28px;
    padding: 10px 42px 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 13px 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-pill-select:focus {
    background-color: #ffffff;
    border-color: #005c53;
    box-shadow: 0 0 0 3px rgba(0, 92, 83, 0.12);
}

/* Input with Right Icon (Schedule Starts at) */
.ad-input-icon-wrap {
    position: relative;
    width: 100%;
}

.ad-input-icon-wrap .ad-pill-input {
    padding-right: 48px;
}

.ad-input-icon-wrap .input-icon-right {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
    pointer-events: none;
}

/* Helper Text */
.ad-field-helper {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-style: italic;
    color: #64748b;
    margin-top: 6px;
    padding-left: 4px;
}

.ad-field-helper .helper-icon {
    font-size: 14px;
    color: #94a3b8;
}

/* Media Dropzone Box */
.ad-media-dropzone {
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

.ad-media-dropzone:hover {
    background-color: #f0fdf9;
    border-color: #cbd5e1;
}

.dropzone-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e0f2f1;
    color: #005c53;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: transform 0.2s ease;
}

.ad-media-dropzone:hover .dropzone-icon-circle {
    transform: scale(1.05);
}

.dropzone-icon-circle .material-symbols-outlined {
    font-size: 22px;
}

.dropzone-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.dropzone-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

/* Preview Image in Dropzone */
.dropzone-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    padding: 8px;
    background-color: #f8fafc;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.btn-remove-media {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-remove-media:hover {
    background-color: rgba(15, 23, 42, 0.9);
}

.btn-remove-media .material-symbols-outlined {
    font-size: 16px;
}

/* Aspect Ratio Note */
.media-aspect-ratio {
    text-align: center;
    font-size: 0.78rem;
    font-style: italic;
    color: #94a3b8;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Bottom Create Advertisement Button */
.btn-submit-ad {
    width: 100%;
    height: 52px;
    background-color: #005c53;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 92, 83, 0.24);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit-ad:hover {
    background-color: #004b44;
    box-shadow: 0 6px 18px rgba(0, 92, 83, 0.32);
    transform: translateY(-1px);
}

.btn-submit-ad:active {
    transform: translateY(0);
}

/**********************************************************
 AD PERFORMANCE REPORT PAGE (REPORTS.HTML)
 **********************************************************/

.reports-page-body {
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    min-height: 100vh;
}

.reports-container {
    max-width: 960px;
    margin: 0 auto;
}

/* Stat Metric Card */
.stat-metric-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 20px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.stat-metric-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -3px rgba(15, 23, 42, 0.06);
}

.stat-metric-icon {
    font-size: 22px;
    display: inline-block;
    margin-bottom: 12px;
}

.stat-metric-icon.icon-blue {
    color: #0284c7;
}

.stat-metric-icon.icon-teal {
    color: #005c53;
}

.stat-metric-icon.icon-green {
    color: #10b981;
}

.stat-metric-icon.icon-purple {
    color: #8b5cf6;
}

.stat-metric-val {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-metric-lbl {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* Engagement Breakdown Card */
.engagement-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03);
    margin-top: 24px;
    margin-bottom: 24px;
}

.engagement-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.engagement-row {
    display: flex;
    align-items: flex-start;
}

.engagement-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.engagement-bar {
    width: 3px;
    height: 38px;
    border-radius: 3px;
    margin-right: 14px;
    flex-shrink: 0;
}

.engagement-bar.bar-gray {
    background-color: #64748b;
}

.engagement-bar.bar-teal {
    background-color: #005c53;
}

.engagement-meta-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.engagement-meta-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* Filter Tab Pills */
.report-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tab-pill {
    padding: 8px 22px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.tab-pill:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.tab-pill.active {
    background-color: #005c53;
    border-color: #005c53;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 92, 83, 0.2);
}

/* Activity List Rows */
.activity-item-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.activity-item-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.activity-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.activity-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0f2f1;
    color: #005c53;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon-badge .material-symbols-outlined {
    font-size: 18px;
}

.activity-customer-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.activity-timestamp {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

/* Advertisement Form Badge and Locked Input Utility Classes */
.ad-locked-input {
    background-color: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    cursor: not-allowed !important;
}
.ad-lock-badge {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 8px;
}
.info-badge {
    padding: 16px 20px !important;
    background-color: #e0f2fe !important;
    background: #e0f2fe !important;
    border: 1.5px solid #7dd3fc !important;
    color: #0369a1 !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    font-weight: 500 !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.08) !important;
}
.error-badge {
    padding: 16px 20px !important;
    background-color: #fef2f2 !important;
    background: #fef2f2 !important;
    border: 1.5px solid #fca5a5 !important;
    color: #991b1b !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
     font-weight: 500 !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.08) !important;
}
/* User Advertisement Report Page Styles */
.reports-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 16px 60px;
}
.ad-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e6f4f1;
    color: #005038;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.ad-back-btn:hover {
    background-color: #005038;
    color: #ffffff;
}
.engagement-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.engagement-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.engagement-bar-indicator {
    width: 3px;
    height: 38px;
    border-radius: 3px;
    flex-shrink: 0;
}
.bar-gray { background-color: #64748b; }
.bar-green { background-color: #005038; }

.tab-pill-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.tab-pill-btn.active {
    background-color: #005038;
    border-color: #005038;
    color: #ffffff;
}
.empty-logs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.activity-log-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}



