/* =========================
   CLIENT FRONTEND - DARK THEME
========================= */

/* Override theme body for client pages */
body:has(.scc-client-wrap) {
    background: #0f1117 !important;
    color: #e2e8f0 !important;
}

/* Fallback for browsers without :has() */
.scc-client-wrap {
    background:
        radial-gradient(ellipse at top left,     rgba(109,40,217,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right,  rgba(49,46,129,0.18) 0%, transparent 50%),
        #0a0d14;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
}

/* =========================
   CLIENT TOPBAR
========================= */
.scc-client-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: transparent;
    border-bottom: 1px solid #1e2130;
}

.scc-client-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
}

.scc-client-brand i {
    color: #7c3aed;
    font-size: 18px;
}

.scc-client-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1a1f2e;
    border: 1px solid #2d3348;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #94a3b8;
}

/* =========================
   META PILLS IN MODAL
========================= */
.scc-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f1117;
    border: 1px solid #2d3348;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #94a3b8;
}

.scc-status-pill {
    border-color: #7c3aed;
    color: #c4b5fd;
    background: #1e1433;
}

/* =========================
   CLIENT MODAL OVERLAY
========================= */
#clientEventModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#clientEventModal.is-open {
    display: flex;
}

/* =========================
   MEDIA IN CLIENT MODAL
========================= */
#modal_media img,
#modal_media video {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #2d3348;
}

/* =========================
   CLIENT CALENDAR WRAP
========================= */
.scc-client-calendar-wrap {
    padding: 0 24px 24px;
}

/* =========================
   VIEW SWITCHER (CLIENT)
========================= */
#client_today_btn,
#client_prev_btn,
#client_next_btn {
    /* inherits from calendar.css button styles */
}