/**
 * MediaTasker — Premium Features Page Styles
 *
 * All selectors are scoped under .mediat_premium-page to
 * reliably override the shared admin.css card styles.
 */

/* ── Comparison Table ────────────────────────────────── */
.mediat_premium-page .mediat_premium-content {
    max-width: 100%;
    margin: 20px 0;
}

.mediat_premium-page .mediat_comparison-table table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
}

.mediat_premium-page .mediat_comparison-table th,
.mediat_premium-page .mediat_comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.mediat_premium-page .mediat_section-header {
    background: #f0f6fc;
    font-weight: bold;
    color: #2271b1;
}

.mediat_premium-page .mediat_dashicons-yes {
    color: #46b450;
}

.mediat_premium-page .mediat_dashicons-no {
    color: #dc3232;
}

/* ── Upgrade Banner ──────────────────────────────────── */
.mediat_premium-page .mediat_upgrade-banner {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.mediat_premium-page .mediat_banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.mediat_premium-page .mediat_upgrade-banner h2 {
    margin-top: 0;
    color: #2271b1;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.mediat_premium-page .mediat_banner-description {
    font-size: 1.25em;
    color: #646970;
    margin-bottom: 35px;
}

.mediat_premium-page .mediat_banner-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.mediat_premium-page .mediat_highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2271b1;
    font-weight: 500;
    font-size: 14px;
}

.mediat_premium-page .mediat_highlight .dashicons {
    color: #2271b1;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.mediat_premium-page .mediat_upgrade-banner .button.button-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mediat_premium-page .mediat_upgrade-banner .button.button-hero .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

/* ── Feature Grid (overrides admin.css) ──────────────── */
.mediat_premium-page .mediat_feature-grid {
    max-width: 100%;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.mediat_premium-page .mediat_feature-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mediat_premium-page .mediat_feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mediat_premium-page .mediat_feature-card .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #2271b1;
    margin-bottom: 20px;
}

.mediat_premium-page .mediat_feature-card h3 {
    margin: 0 0 15px;
    color: #1d2327;
    font-size: 1.2em;
    font-weight: 600;
}

.mediat_premium-page .mediat_feature-card p {
    color: #50575e;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.mediat_premium-page .mediat_feature-card ul {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    width: 100%;
}

.mediat_premium-page .mediat_feature-card li {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #50575e;
}

.mediat_premium-page .mediat_feature-card li .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-bottom: 0;
    flex-shrink: 0;
}

/* ── Coming Soon Badge ───────────────────────────────── */
.mediat_premium-page .mediat_coming-soon-badge {
    background: #2271b1;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Upgrade Footer ──────────────────────────────────── */
.mediat_premium-page .mediat_upgrade-footer {
    text-align: center;
    margin: 60px 0 40px;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ── Red PRO Badge in Menu ───────────────────────────── */
.mediat_pro-badge {
    background: #d63638;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9px;
    vertical-align: middle;
    margin-left: 4px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.4;
}

/* ── Responsive Adjustments ──────────────────────────── */
@media (max-width: 782px) {
    .mediat_premium-page .mediat_banner-highlights {
        gap: 15px;
    }

    .mediat_premium-page .mediat_upgrade-banner {
        padding: 30px 20px;
    }

    .mediat_premium-page .mediat_upgrade-banner h2 {
        font-size: 1.8em;
    }
}
