/* Elite IPTV Core — Frontend Page Styles
   These classes use the "elite-" prefix so they don't conflict with the theme.
   Colors match the EliteIPTV.ca dark/gold brand palette.
*/

:root {
    --elite-gold:    #d4af37;
    --elite-dark:    #1a1a2e;
    --elite-surface: #16213e;
    --elite-card:    #1e2d40;
    --elite-red:     #e74c3c;
    --elite-green:   #27ae60;
    --elite-orange:  #e67e22;
}

/* ------------------------------------------------------------------ */
/* Page wrapper                                                          */
/* ------------------------------------------------------------------ */
.elite-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    font-family: inherit;
    color: inherit;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                               */
/* ------------------------------------------------------------------ */
.elite-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    border: 2px solid transparent;
}
.elite-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.elite-btn-primary  { background: var(--elite-gold); color: #000 !important; border-color: var(--elite-gold); }
.elite-btn-secondary{ background: var(--elite-surface); color: #fff !important; border-color: #444; }
.elite-btn-outline  { background: transparent; color: var(--elite-gold) !important; border-color: var(--elite-gold); }
.elite-btn-large    { padding: 16px 40px; font-size: 17px; }
.elite-btn-whatsapp { background: #25D366; color: #fff !important; border-color: #25D366; }
.elite-btn-download { min-width: 220px; }

/* ------------------------------------------------------------------ */
/* Hero — /app page                                                      */
/* ------------------------------------------------------------------ */
.elite-hero {
    background: linear-gradient(135deg, var(--elite-dark) 60%, #0d0d1e);
    border: 1px solid var(--elite-gold);
    border-radius: 12px;
    padding: 56px 40px;
    text-align: center;
    margin-bottom: 48px;
}
.elite-hero-title    { font-size: 2.6rem; color: var(--elite-gold); margin: 0 0 16px; }
.elite-hero-subtitle { font-size: 1.1rem; opacity: 0.85; max-width: 640px; margin: 0 auto 32px; }
.elite-hero-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* Features grid                                                          */
/* ------------------------------------------------------------------ */
.elite-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}
.elite-feature-card {
    background: var(--elite-card);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #2a3a50;
    transition: border-color 0.2s;
}
.elite-feature-card:hover { border-color: var(--elite-gold); }
.elite-feature-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.elite-feature-card h3 { margin: 0 0 8px; font-size: 1rem; }
.elite-feature-card p  { margin: 0; font-size: 0.88rem; opacity: 0.75; }

/* ------------------------------------------------------------------ */
/* Steps list                                                             */
/* ------------------------------------------------------------------ */
.elite-install-steps { margin-bottom: 40px; }
.elite-install-steps h2 { color: var(--elite-gold); border-bottom: 2px solid var(--elite-gold); padding-bottom: 8px; margin-bottom: 20px; }
.elite-steps { padding-left: 24px; }
.elite-steps li { margin-bottom: 10px; line-height: 1.6; }

/* ------------------------------------------------------------------ */
/* Download page                                                          */
/* ------------------------------------------------------------------ */
.elite-download-hero { text-align: center; margin-bottom: 32px; }
.elite-download-hero h1 { color: var(--elite-gold); }
.elite-download-card {
    background: var(--elite-card);
    border: 1px solid var(--elite-gold);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 48px;
}
.elite-download-icon  { font-size: 4rem; display: block; margin-bottom: 16px; }
.elite-version-tag    { color: var(--elite-gold); font-weight: 600; margin-bottom: 24px; }
.elite-download-note  { font-size: 0.85rem; opacity: 0.7; margin-top: 16px; }
.elite-qr-placeholder { margin-top: 24px; }
.elite-qr-box {
    border: 2px dashed #444;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
}
.elite-qr-url code { font-size: 0.75rem; word-break: break-all; }

/* ------------------------------------------------------------------ */
/* Account page                                                           */
/* ------------------------------------------------------------------ */
.elite-account-card {
    background: var(--elite-card);
    border: 1px solid #2a3a50;
    border-radius: 10px;
    padding: 32px;
    max-width: 640px;
}
.elite-account-status-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.elite-status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.elite-status-active  { background: #d4edda; color: #155724; }
.elite-status-pending { background: #fff3cd; color: #856404; }
.elite-status-expired { background: #f8d7da; color: #721c24; }
.elite-status-disabled{ background: #e2e3e5; color: #383d41; }
.elite-days-left        { font-size: 0.9rem; opacity: 0.8; }
.elite-days-warning     { color: var(--elite-orange); font-weight: 600; }
.elite-account-table    { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.elite-account-table th { width: 150px; text-align: left; padding: 8px 0; opacity: 0.7; font-weight: 600; }
.elite-account-table td { padding: 8px 0; }
.elite-account-table tr + tr th,
.elite-account-table tr + tr td { border-top: 1px solid #2a3a50; }
.elite-account-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.elite-support-link   { font-size: 0.9rem; opacity: 0.75; }

/* ------------------------------------------------------------------ */
/* Renew page — packages grid                                             */
/* ------------------------------------------------------------------ */
.elite-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.elite-package-card {
    background: var(--elite-card);
    border: 1px solid #2a3a50;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s;
}
.elite-package-card:hover { border-color: var(--elite-gold); }
.elite-package-card h3    { margin: 0 0 8px; }
.elite-package-price      { color: var(--elite-gold); font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
.elite-package-features   { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; font-size: 0.9rem; }
.elite-package-features li { padding: 4px 0; }
.elite-etransfer-info      { background: var(--elite-surface); border-left: 4px solid var(--elite-gold); border-radius: 0 8px 8px 0; padding: 20px 24px; margin-top: 32px; }
.elite-etransfer-info h3   { margin-top: 0; color: var(--elite-gold); }

/* ------------------------------------------------------------------ */
/* Status page                                                            */
/* ------------------------------------------------------------------ */
.elite-status-banner {
    padding: 20px 32px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.2rem;
    font-weight: 700;
}
.elite-status-banner.elite-status-active  { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.elite-status-banner.elite-status-pending { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.elite-status-banner.elite-status-expired { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.elite-status-updated { font-size: 0.85rem; opacity: 0.6; }

/* ------------------------------------------------------------------ */
/* Notices                                                                */
/* ------------------------------------------------------------------ */
.elite-notice {
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.elite-notice-info    { background: #e8f4fd; border-left: 4px solid #2980b9; color: #1a5276; }
.elite-notice-warning { background: #fff3cd; border-left: 4px solid var(--elite-orange); color: #6d4c00; }
.elite-notice-error   { background: #f8d7da; border-left: 4px solid var(--elite-red); color: #721c24; }

/* ------------------------------------------------------------------ */
/* Support CTA                                                            */
/* ------------------------------------------------------------------ */
.elite-support-cta {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2a3a50;
}
