/**
 * CertsHouse - Mega Pack Stylesheet
 * Responsive, modern, clean aesthetic for Mega Pack Page & Dashboard
 */

/* ==========================================================================
   1. MEGA PACK LANDING & PRICING
   ========================================================================== */
.ch-mp-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

/* Hero Section */
.ch-mp-hero {
    text-align: center;
    padding: 50px 20px 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    color: #ffffff;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.ch-mp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(0, 0, 0, 0) 65%);
    pointer-events: none;
}

.ch-mp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ch-mp-badge-pill svg {
    color: #fbbf24;
}

.ch-mp-hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #ffffff;
}

.ch-mp-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ch-mp-hero p.ch-mp-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.ch-mp-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
}

.ch-trust-item svg {
    color: #38bdf8;
}

/* Active Membership Banner */
.ch-active-member-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 40px;
}

.ch-amb-left h3 {
    margin: 5px 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #166534;
}

.ch-amb-left p {
    margin: 0;
    color: #15803d;
    font-size: 14px;
}

.ch-amb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22c55e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.ch-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.ch-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
    color: #ffffff !important;
}

/* 3 Packages Pricing Grid */
.ch-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 55px;
}

@media (max-width: 991px) {
    .ch-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.ch-plan-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 25px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ch-plan-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Gold Plan (Featured) */
.ch-plan-card.ch-plan-featured {
    border-color: #f59e0b;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.18);
    transform: scale(1.03);
    z-index: 2;
}

.ch-plan-card.ch-plan-featured:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
}

@media (max-width: 991px) {
    .ch-plan-card.ch-plan-featured {
        transform: none;
    }
    .ch-plan-card.ch-plan-featured:hover {
        transform: translateY(-4px);
    }
}

.ch-plan-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.ch-plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.ch-plan-icon-wrap {
    margin-bottom: 12px;
}

.ch-plan-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.ch-plan-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
}

.ch-plan-duration-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.ch-plan-featured .ch-plan-duration-badge {
    background: #fef3c7;
    color: #92400e;
}

.ch-plan-price-wrap {
    text-align: center;
    padding: 16px 0 20px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 22px;
}

.ch-plan-price {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

/* Daily Price at top ($0.49/day) */
.ch-plan-daily-price {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.ch-plan-featured .ch-plan-daily-price {
    color: #d97706;
}

.ch-daily-unit {
    font-size: 19px;
    font-weight: 700;
    color: #64748b;
    margin-left: 2px;
}

.ch-plan-featured .ch-daily-unit {
    color: #b45309;
}

.ch-plan-price del {
    color: #94a3b8;
    font-size: 20px;
    font-weight: 500;
    margin-right: 8px;
}

.ch-plan-price ins {
    text-decoration: none;
    color: #0f172a;
}

.ch-plan-featured .ch-plan-price ins {
    color: #d97706;
}

.ch-plan-period {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 6px;
}

/* Package Total Price in Footer */
.ch-plan-footer-price-wrap {
    text-align: center;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ch-plan-featured .ch-plan-footer-price-wrap {
    background: #fffbeb;
    border-color: #fde68a;
}

.ch-footer-price-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 3px;
}

.ch-plan-featured .ch-footer-price-label {
    color: #92400e;
}

.ch-footer-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.ch-footer-price del {
    color: #94a3b8;
    font-size: 17px;
    font-weight: 500;
    margin-right: 6px;
}

.ch-footer-price ins {
    text-decoration: none;
    color: #0f172a;
}

.ch-plan-featured .ch-footer-price ins {
    color: #d97706;
}

.ch-footer-billing-note {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.ch-plan-featured .ch-footer-billing-note {
    color: #92400e;
}

.ch-plan-body {
    flex-grow: 1;
    margin-bottom: 25px;
}

.ch-plan-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ch-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 11px;
    line-height: 1.45;
}

.ch-plan-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ch-plan-footer {
    text-align: center;
}

.ch-btn-plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.ch-btn-plan-cta:hover {
    background: #0284c7;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.ch-plan-featured .ch-btn-plan-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.ch-plan-featured .ch-btn-plan-cta:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45);
}

.ch-plan-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 12px;
}

/* Features Grid */
.ch-mp-features-section {
    margin-bottom: 55px;
}

.ch-section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.ch-section-heading h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.ch-section-heading p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.ch-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 860px) {
    .ch-features-grid {
        grid-template-columns: 1fr;
    }
}

.ch-feature-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.25s ease;
}

.ch-feature-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.ch-fb-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-fb-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #0f172a;
}

.ch-fb-content p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* FAQ Accordion */
.ch-mp-faq-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 30px;
    margin-bottom: 40px;
}

.ch-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ch-faq-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 0;
}

.ch-faq-item:last-child {
    border-bottom: none;
}

.ch-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    padding: 0;
}

.ch-faq-question:hover {
    color: #0284c7;
}

.ch-faq-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ch-faq-item.open .ch-faq-icon {
    transform: rotate(45deg);
}

.ch-faq-answer {
    display: none;
    padding-top: 10px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.ch-faq-item.open .ch-faq-answer {
    display: block;
}

/* ==========================================================================
   2. MEGA PACK INTERACTIVE DASHBOARD
   ========================================================================== */
.ch-mp-dashboard-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

/* Status Header Card */
.ch-mp-status-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 25px 28px;
    color: #ffffff;
    margin-bottom: 25px;
}

.ch-mp-status-main {
    margin-bottom: 22px;
}

.ch-mp-plan-badge-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ch-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ch-status-indicator.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.ch-status-indicator.inactive {
    background: #ef4444;
}

.ch-plan-label {
    font-size: 14px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ch-admin-pill {
    background: rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.ch-mp-welcome-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}

.ch-mp-welcome-desc {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* Metrics Grid */
.ch-mp-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .ch-mp-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.ch-metric-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ch-metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ch-metric-icon.icon-expiry {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ch-metric-icon.icon-downloads {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.ch-metric-icon.icon-catalog {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.ch-metric-content {
    flex-grow: 1;
}

.ch-metric-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.ch-metric-value {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.ch-metric-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
}

.ch-metric-tag.tag-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.ch-metric-tag.tag-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.ch-metric-tag.tag-info {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.ch-metric-tag.tag-purple {
    background: rgba(192, 132, 252, 0.2);
    color: #d8b4fe;
}

.ch-metric-link {
    display: inline-block;
    color: #fbbf24 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    margin-top: 4px;
}

.ch-metric-link:hover {
    text-decoration: underline !important;
}

/* Multi-Order Compact 2-Column Grid inside Status Card */
.ch-mp-orders-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .ch-mp-orders-compare-grid {
        grid-template-columns: 1fr;
    }
}

.ch-mp-order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.ch-mp-order-card.card-current {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ch-mp-order-card.card-previous {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.08);
    opacity: 0.92;
}

.ch-mp-order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ch-mp-order-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ch-mp-order-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.4;
}

.ch-mp-order-pill.pill-current {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.ch-mp-order-pill.pill-previous {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.ch-mp-order-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.ch-mp-order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    line-height: 1.3;
}

.ch-mp-order-status-badge.status-active {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.ch-mp-order-status-badge.status-limit {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.ch-mp-order-status-badge.status-expired {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.ch-mp-order-details-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
}

@media (max-width: 480px) {
    .ch-mp-order-details-row {
        grid-template-columns: 1fr;
    }
}

.ch-mp-order-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ch-mp-stat-lbl {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ch-mp-stat-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ch-mp-sub-tag {
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
}

.ch-mp-sub-tag.sub-success {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.ch-mp-sub-tag.sub-danger {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.ch-mp-sub-tag.sub-info {
    background: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

.ch-mp-order-reason {
    font-size: 11.5px;
    color: #fca5a5;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

/* Upgrade Callout Banner */
.ch-mp-upgrade-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 25px;
}

.ch-mp-upgrade-icon {
    flex-shrink: 0;
}

.ch-mp-upgrade-text {
    flex-grow: 1;
}

.ch-mp-upgrade-text h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
}

.ch-mp-upgrade-text p {
    margin: 0;
    font-size: 13.5px;
    color: #78350f;
}

/* Controls Bar (Search + Per-Page) */
.ch-mp-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
}

@media (max-width: 640px) {
    .ch-mp-controls-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }
}

.ch-mp-search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.ch-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.ch-mp-search-box:focus-within .ch-search-icon {
    color: #0284c7;
}

#ch-mp-search-input {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 38px 0 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-sizing: border-box;
}

#ch-mp-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 13.5px;
}

#ch-mp-search-input:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

#ch-mp-search-input:focus {
    background: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.12);
}

#ch-mp-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

#ch-mp-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.ch-mp-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ch-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 6px 4px 12px;
    height: 44px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ch-filter-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.ch-filter-item label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    user-select: none;
}

.ch-filter-item select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 0 26px 0 10px;
    height: 34px;
    line-height: 34px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ch-filter-item select:hover {
    border-color: #94a3b8;
}

.ch-filter-item select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Products Table */
.ch-mp-table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ch-mp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.ch-mp-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}

.ch-mp-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.ch-mp-table tbody tr:last-child {
    border-bottom: none;
}

.ch-mp-table tbody tr:hover {
    background-color: #f8fafc;
}

.ch-mp-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* Exam Code Pill */
.ch-code-pill {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 5px 11px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ch-code-link {
    text-decoration: none !important;
    display: inline-block;
}

.ch-code-link:hover .ch-code-pill {
    background: #0284c7;
    transition: all 0.2s ease;
}

/* Title & Cert */
.ch-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 380px;
}

.ch-exam-title {
    font-weight: 600;
    color: #0f172a !important;
    text-decoration: none !important;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.ch-exam-title:hover {
    color: #0284c7 !important;
}

.ch-cert-sub {
    font-size: 12px;
    color: #64748b;
}

/* Vendor Badge */
.ch-vendor-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Questions Count */
.ch-q-count {
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
}

.ch-date-text {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

/* Action Buttons */
.ch-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.ch-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ch-btn-action.ch-btn-pdf {
    background: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.ch-btn-action.ch-btn-pdf:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.ch-btn-action.ch-btn-downloaded {
    background: #059669;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.ch-btn-action.ch-btn-downloaded:hover {
    background: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.ch-btn-action.ch-btn-online {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

.ch-btn-action.ch-btn-online:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    transform: translateY(-1px);
}

.ch-btn-action.ch-btn-upgrade {
    background: #f59e0b;
    color: #ffffff !important;
}

.ch-btn-action.ch-btn-upgrade:hover {
    background: #d97706;
}

.ch-limit-reached-badge {
    display: inline-block;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Pagination */
.ch-mp-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
}

.ch-mp-pagination-info {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

.ch-mp-pagination-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ch-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ch-page-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.ch-page-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
}

.ch-page-dots {
    color: #94a3b8;
    padding: 0 4px;
}

/* Loading & Empty States */
.ch-mp-loader-wrap {
    text-align: center;
    padding: 50px 20px;
}

.ch-mp-spinner {
    width: 36px;
    height: 36px;
    border: 3.5px solid #e2e8f0;
    border-top-color: #0284c7;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: chSpin 0.8s linear infinite;
}

@keyframes chSpin {
    to { transform: rotate(360deg); }
}

.ch-mp-no-results {
    text-align: center;
    padding: 45px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

.ch-mp-empty-icon {
    color: #94a3b8;
    margin-bottom: 12px;
}

.ch-mp-no-results h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}

.ch-mp-no-results p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
