/**
 * MediaTasker — Admin Styles
 *
 * Styles for the plugin's wp-admin pages.
 *
 * @package MediaTasker
 */

/* ==========================================================================
   Base Admin Container
   ========================================================================== */

.mediat_admin-wrap {
    max-width: 100%;
    margin: 20px 20px 0 0;
}

.mediat_admin-wrap h1 {
    font-size: 23px;
    font-weight: 400;
    margin: 0 0 20px;
    padding: 9px 0 4px;
    line-height: 1.3;
}

.mediat_admin-wrap h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 10px;
    padding: 0;
    line-height: 1.4;
}

/* ==========================================================================
   1. Shortcode Box
   ========================================================================== */

.mediat_shortcode-box {
    background: #f0f6fc;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 30px;
}

.mediat_shortcode-box h2 {
    margin-top: 0;
    font-size: 16px;
}

.mediat_shortcode-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mediat_shortcode-code {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 15px;
    font-family: Consolas, Monaco, monospace;
    letter-spacing: 0.5px;
    user-select: all;
}

/* ==========================================================================
   2. Feature Cards Grid
   ========================================================================== */

.mediat_feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mediat_feature-card {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 24px 20px;
    transition: box-shadow 0.2s ease;
}

.mediat_feature-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.mediat_feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.mediat_feature-card p {
    color: #646970;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   3. Stats Grid
   ========================================================================== */

.mediat_stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.mediat_stat-card {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mediat_stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2271b1;
    line-height: 1.2;
}

.mediat_stat-label {
    font-size: 13px;
    color: #646970;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. Getting Started
   ========================================================================== */

.mediat_getting-started {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.mediat_getting-started h2 {
    margin-top: 0;
}

.mediat_getting-started ol {
    margin: 0;
    padding-left: 24px;
}

.mediat_getting-started li {
    font-size: 14px;
    line-height: 1.8;
    color: #3c434a;
}

/* ==========================================================================
   5. Premium CTA
   ========================================================================== */

.mediat_premium-cta {
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f0fe 100%);
    border: 1px solid #2271b1;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 30px;
    text-align: center;
}

.mediat_premium-cta h2 {
    margin-top: 0;
    color: #135e96;
}

.mediat_premium-cta p {
    color: #3c434a;
    font-size: 14px;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mediat_premium-cta .button-hero {
    font-size: 15px;
    padding: 10px 28px;
}

/* ==========================================================================
   Copy Button State
   ========================================================================== */

.mediat_copy-shortcode.mediat_copied {
    background: #46b450;
    border-color: #46b450;
    color: #ffffff;
    pointer-events: none;
}

/* ==========================================================================
   6. Native-style PRO Badge
   ========================================================================== */

.mediat_pro-badge {
    display: inline-block;
    background: #f0f0f1; /* Subtle native gray */
    color: #3c434a;      /* Native text gray */
    border: 1px solid #c3c4c7;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 5px;
    line-height: 1.4;
}

