/* ============================================================
   1. CORE UI & RESET (Dashboard, Cards, Tables)
  
   ============================================================ */
html body { background: #f5f7fa !important; color: #333 !important; }

.sbt-container { max-width: 1200px; margin: 0 auto; padding: 20px; }

html body .sbt-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
}

/* ============================================================
   2. BRANDED BANNER (Orange #ff8658, Mint #8bccbf)
  
   ============================================================ */
html body div.sbt-trial-countdown-bar {
    background-color: #ff8658 !important; /* Brand Orange */
    color: #ffffff !important;
    border-bottom: 3px solid #8bccbf !important; /* Brand Mint */
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: block !important;
    z-index: 999999 !important;
}

html body .sbt-trial-countdown-bar span, 
html body .sbt-trial-countdown-bar strong {
    color: #ffffff !important;
}

html body .sbt-trial-countdown-bar a {
    background: #ffffff !important;
    color: #ff8658 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* ============================================================
   3. NAVIGATION FIX (Prevents Double Header)
  
   ============================================================ */
@media (min-width: 922px) {
    /* Explicitly hide mobile elements on desktop */
    .ast-mobile-header-wrap, .ast-mobile-header-content { display: none !important; }
    #ast-desktop-header { display: block !important; }

    /* Center desktop navigation links */
    #ast-desktop-header .main-header-bar-navigation {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* ============================================================
   4. NEW EMPATHETIC LOGIN CARD
  
   ============================================================ */
.sbt-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.sbt-login-card {
    background: #ffffff !important;
    max-width: 480px;
    width: 100%;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08) !important;
}

.sbt-tagline {
    font-size: 1.15rem;
    color: #8bccbf !important; /* Brand Mint */
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.sbt-trial-lockup {
    background: #fff9f6;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px dashed #ff8658; /* Brand Orange */
}

.sbt-no-strings {
    font-size: 0.9rem;
    color: #ff8658 !important; /* Brand Orange */
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.sbt-button-small {
    background: #8bccbf !important; /* Brand Mint */
    color: white !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.sbt-button-danger {
    background: #ff6b6b !important;
    color: white !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
}

.sbt-badge {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
/* Modal Styling */
.sbt-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Dimmed background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sbt-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Sorting Headers */
th.sbt-sortable {
    position: relative;
    user-select: none;
    transition: background-color 0.2s;
}

th.sbt-sortable:hover {
    background-color: #e9ecef !important;
}

th.sbt-sortable.asc, 
th.sbt-sortable.desc {
    background-color: #e2e6ea !important;
    color: #333;
    font-weight: 800;
}

th.sbt-sortable .dashicons {
    font-size: 14px;
    margin-left: 5px;
    color: #999;
    vertical-align: middle;
}

th.sbt-sortable.asc .dashicons,
th.sbt-sortable.desc .dashicons {
    color: #333;
}