/* ==========================================================================
   SERVICE OPERATIONS PORTAL SPECIFIC STYLES
   ========================================================================== */

/* --- Top Bar KPI Metrics Section (Alerts & Clickable Navs) --- */

.top-metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.top-metric-card-link {
    text-decoration: none;
    display: block;
}

.top-metric-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.012);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

/* Clicking / Navigation states */
.top-metric-card.card-clickable {
    cursor: pointer;
}

.top-metric-card.card-clickable:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: rgba(203, 213, 225, 0.9);
}

.top-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.top-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 750;
    color: #475569;
}

.top-card-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.top-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0.75rem;
    width: 100%;
}

.top-card-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.15rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

/* Tooltip alignment */
.top-metric-card .profile-metric-tooltip-wrapper {
    margin-bottom: 2px;
}

/* Card Accent Borders */
.top-metric-card.alert-amber { border-left: 5px solid #F59E0B; }
.top-metric-card.alert-red { border-left: 5px solid #EF4444; }
.top-metric-card.nav-blue { border-left: 5px solid #3B82F6; }
.top-metric-card.nav-grey { border-left: 5px solid #64748B; }

/* Icon circle themes */
.icon-amber { background: rgba(245, 158, 11, 0.08); color: #F59E0B; }
.icon-red { background: rgba(239, 68, 68, 0.08); color: #EF4444; }
.icon-blue { background: rgba(59, 130, 246, 0.08); color: #3B82F6; }
.icon-grey { background: rgba(100, 116, 139, 0.08); color: #64748B; }

/* Premium Blur/Shimmer Transition on Service Operations KPI Card Values during loading */
#top-bar-metrics-content[data-dash-is-loading="true"] .command-card-value {
    opacity: 0.4;
    filter: blur(1.5px);
    transform: scale(0.97);
    animation: kpiPulseShimmer 1.5s infinite ease-in-out;
    transition: all 0.15s ease-in-out;
}

/* ==========================================
   WEBINAR MANAGEMENT SECTION STYLES
   ========================================== */

.webinar-dashboard-mount-wrapper {
    margin-top: 1.5rem;
}

/* Base Glassmorphic Dashboard Deck Container - Unified Solid Premium Card Design */
.webinar-operations-card {
    display: flex;
    flex-direction: column; /* Stack header above the panes inside the card */
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 2.25rem; /* Matches staff directory padding perfectly! */
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.5rem; /* Visual separation between integrated header and columns */
}

/* Row wrapping the 3 panes side-by-side inside the card */
.webinar-panes-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-grow: 1;
    gap: 1.25rem; /* Cozy flex column gap */
}

/* ==========================================
   LEFT PANE: THE HERO CARD (34% Width)
   ========================================== */
.webinar-hero-pane {
    flex: 0 0 34%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.6); /* Border around the pane */
    border-radius: 20px; /* Curvature matching SaaS card blocks */
    background: #FFFFFF;
    box-sizing: border-box;
    overflow: hidden; /* Clips the banner image cleanly */
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.015);
    padding-bottom: 1rem;
}

/* Elegant cohesive banner image container */
.webinar-hero-banner-container {
    height: 130px; /* Reduced from 190px to compress the card height */
    margin: 1rem 1rem 0.5rem 1rem;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.webinar-hero-banner-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 0.85rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.webinar-hero-banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.55) 100%);
    z-index: 1;
}

.webinar-hero-banner-container:hover .webinar-hero-banner-image {
    transform: scale(1.04);
}

/* High-End iOS Frosted Glass Badge */
.webinar-state-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.64rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.state-live {
    background: rgba(239, 68, 68, 0.9);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.state-next {
    background: rgba(15, 23, 42, 0.65);
    color: #FFFFFF;
}

.webinar-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: inline-block;
    animation: webinar-pulse-anim 1.5s infinite;
}

.webinar-blue-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-indigo);
    display: inline-block;
}

@keyframes webinar-pulse-anim {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.webinar-hero-details {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.webinar-tag-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.webinar-access-pill {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: fit-content;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.access-free {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-teal);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.access-paid {
    background: rgba(249, 115, 22, 0.08);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.access-both {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.webinar-duration-pill {
    background: rgba(100, 116, 139, 0.05);
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 116, 139, 0.1);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.webinar-hero-title {
    font-size: 1.65rem;
    font-weight: 850;
    color: #0F172A;
    margin: 0;
    line-height: 1.25;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.4px;
}

.webinar-hero-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
}

/* Frosted integrated schedule grid - borderless version */
.webinar-timing-flat {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.25rem 0;
}

.timing-row-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.76rem;
    color: #0F172A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.webinar-timing-icon {
    color: var(--accent-purple);
    font-size: 0.8rem;
}

.timing-row-hours {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.timing-col {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.timing-divider-line {
    width: 1px;
    height: 18px;
    background: rgba(226, 232, 240, 0.9);
    margin: 0 1rem;
}

.timing-label {
    font-size: 0.56rem;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.timing-val {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0F172A;
    font-family: 'Outfit', sans-serif;
}

/* Cohesive modern CTA button */
.webinar-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
    color: #FFFFFF !important;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
    transition: all 0.2s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.webinar-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}

/* ==========================================
   MIDDLE PANE: KPI METRICS STACK (31% Width)
   ========================================== */
.webinar-kpi-pane {
    flex: 0 0 28%;
    display: flex;
    flex-direction: column;
    background: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 1.25rem;
    box-sizing: border-box;
}

.webinar-kpi-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.kpi-header-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 0.85rem;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.webinar-kpi-header-title {
    font-size: 1.05rem;
    font-weight: 850;
    color: #0F172A;
    margin: 0;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.2px;
}

.webinar-kpi-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1; /* Stretch to fill container height */
    margin-bottom: 0.5rem;
}

/* Frosted individual KPI Card - stretched to look square */
.kpi-card {
    flex: 1; /* Stretch each card vertically to fill the stack */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically to keep label and number close */
    align-items: stretch;
    padding: 1.25rem 1.35rem;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 18px; /* Tighter premium curvature */
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0.6rem; /* Clean, close vertical spacing between title/icon and value */
    position: relative; /* Absolute boundary for bottom-right hover tooltips */
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* Align hover info tooltip badge perfectly inline below the logo and horizontally with the value */
.kpi-card .profile-metric-tooltip-wrapper {
    right: calc(1.35rem + 11px);
    bottom: calc(1.25rem + 8px);
}

/* KPI Accent colors */
.card-free {
    border-left: 4px solid var(--accent-teal);
}

.card-paid {
    border-left: 4px solid var(--accent-orange);
}

.card-both {
    border-left: 4px solid var(--accent-indigo);
}

.kpi-card-label {
    font-size: 0.85rem;
    font-weight: 750;
    color: var(--text-sub);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

.kpi-card-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #0F172A;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.kpi-card-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.icon-free {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-teal);
}

.icon-paid {
    background: rgba(249, 115, 22, 0.08);
    color: var(--accent-orange);
}

.icon-both {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-indigo);
}

/* ==========================================
   RIGHT PANE: THE PIPELINE LIST (35% Width)
   ========================================== */
.webinar-pipeline-pane {
    flex: 1 1 0px; /* Expands to fill remaining width organically */
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    box-sizing: border-box;
}

.webinar-pipeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.webinar-pipeline-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pipeline-header-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-indigo);
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.webinar-pipeline-header-title {
    font-size: 1.05rem;
    font-weight: 850;
    color: #0F172A;
    margin: 0;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.2px;
}

.pipeline-count-badge {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.06);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.12);
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap; /* Prevent badge text wrapping inside */
}

.webinar-pipeline-list-scrollable {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    overflow-y: auto;
    max-height: 290px; /* Reduced from 420px to compress vertical size */
    padding-right: 0.25rem;
}

/* Scrollbar styling */
.webinar-pipeline-list-scrollable::-webkit-scrollbar {
    width: 4px;
}

.webinar-pipeline-list-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.webinar-pipeline-list-scrollable::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 99px;
}

.webinar-pipeline-list-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.15);
}

/* Compact pipeline rows - made larger and more readable */
.webinar-pipeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    gap: 0.85rem;
    transition: all 0.2s ease;
}

.webinar-pipeline-row:hover {
    transform: translateY(-1.5px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.04);
}

.pipeline-row-left {
    flex: 1.2;
    min-width: 0;
}

.pipeline-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 0.25rem 0;
    white-space: normal;
    word-break: break-word;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.3;
}

.pipeline-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pipeline-meta-item {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.pipeline-row-center {
    margin: 0 0.6rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.pipeline-time-badge {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.04);
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.pipeline-row-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pipeline-access-tag {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    display: inline-block;
}

.tag-free {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-teal);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.tag-paid {
    background: rgba(249, 115, 22, 0.08);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.tag-both {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.pipeline-copy-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-clipboard-button {
    background: rgba(15, 23, 42, 0.03) !important;
    color: var(--text-sub) !important;
    border-radius: 10px !important;
    padding: 0.55rem !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.pipeline-clipboard-button:hover {
    background: rgba(99, 102, 241, 0.06) !important;
    color: var(--accent-indigo) !important;
    transform: scale(1.05);
}

/* Beautiful modern checkmark empty state */
.webinar-pipeline-empty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    margin-top: 0.25rem;
}

.pipeline-empty-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.08);
    margin-bottom: 0.4rem;
}

.pipeline-empty-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 0.2rem 0;
    font-family: 'Outfit', sans-serif;
}

.pipeline-empty-text {
    font-size: 0.78rem;
    color: var(--text-sub);
    margin: 0;
    max-width: 220px;
    line-height: 1.4;
    font-weight: 500;
}

/* General Empty State */
.webinar-empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.03);
    min-height: 400px;
}

.webinar-empty-state-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.webinar-empty-state-title {
    font-size: 1.3rem;
    font-weight: 850;
    color: #0F172A;
    margin-bottom: 0.35rem;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.3px;
}

.webinar-empty-state-desc {
    font-size: 0.84rem;
    color: var(--text-sub);
    margin: 0;
    max-width: 300px;
    font-weight: 500;
    line-height: 1.45;
}

/* ==========================================================================
   STAFF MANAGEMENT SECTION
   ========================================================================== */

/* --- Staff Operations Card Container --- */
.staff-operations-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: var(--card-shadow);
    margin-top: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.staff-operations-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.staff-operations-header-icon {
    display: flex;
    align-items: center;
    background: rgba(124, 58, 237, 0.08);
    padding: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    font-size: 1.45rem;
}

.staff-operations-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.staff-operations-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.staff-operations-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0;
}

/* --- Staff Horizontal Block Layout --- */
.staff-blocks-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.staff-blocks-row-1 {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 1.5rem;
}

.staff-blocks-row-2 {
    display: grid;
    grid-template-columns: 2fr 2fr 3fr;
    gap: 1.5rem;
}

.staff-group-block {
    background: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
}

.staff-group-header-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.staff-group-indicator {
    width: 6px;
    height: 18px;
    border-radius: 3px;
    flex-shrink: 0;
}

.indicator-emerald { background-color: var(--accent-teal); }
.indicator-indigo { background-color: var(--accent-indigo); }
.indicator-orange { background-color: var(--accent-orange); }
.indicator-coral { background-color: var(--accent-coral); }
.indicator-purple { background-color: var(--accent-purple); }

.staff-group-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #475569;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-kpi-grid {
    display: grid;
    gap: 0.85rem;
}

/* --- Premium Staff KPI Card --- */
.staff-kpi-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 18px;
    padding: 1.15rem 0.65rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.015);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.staff-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    border-color: rgba(226, 232, 240, 0.9);
}

.staff-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
}

.staff-card-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748B;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.staff-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.staff-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1rem;
    width: 100%;
}

.staff-card-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* --- Theme Accent Borders & Icons --- */
.staff-kpi-card.card-emerald { border-left: 4px solid var(--accent-teal); }
.staff-kpi-card.card-indigo { border-left: 4px solid var(--accent-indigo); }
.staff-kpi-card.card-orange { border-left: 4px solid var(--accent-orange); }
.staff-kpi-card.card-coral { border-left: 4px solid var(--accent-coral); }
.staff-kpi-card.card-purple { border-left: 4px solid var(--accent-purple); }

.icon-emerald { background: rgba(16, 185, 129, 0.08); color: var(--accent-teal); }
.icon-indigo { background: rgba(99, 102, 241, 0.08); color: var(--accent-indigo); }
.icon-orange { background: rgba(249, 115, 22, 0.08); color: var(--accent-orange); }
.icon-coral { background: rgba(244, 63, 94, 0.08); color: var(--accent-coral); }
.icon-purple { background: rgba(124, 58, 237, 0.08); color: var(--accent-purple); }

/* Tooltip positioning */
.staff-kpi-card .profile-metric-tooltip-wrapper {
    margin-bottom: 2px;
}

/* --- Zero Count (Disabled Card) State --- */
.card-disabled {
    opacity: 0.7;
    background-color: #FFFFFF !important; /* Stand out as pure white against the F8FAFC block bg */
    border: 1px dashed #CBD5E1 !important; /* Clear dashed border */
    border-left: 4px solid #CBD5E1 !important; /* Neutral grey left border to indicate zero count */
    box-shadow: none !important;
}

.card-disabled .staff-card-label {
    color: #94A3B8 !important;
}

.card-disabled .staff-card-value {
    color: #94A3B8 !important;
}

.card-disabled .staff-card-icon {
    background: #F1F5F9 !important;
    color: #94A3B8 !important;
    box-shadow: none !important;
}

.card-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* --- Staff Detail User Card Inside Drawer --- */
.staff-detail-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.staff-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.staff-info-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0; /* Prevents overflow */
}

.staff-detail-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 750;
    color: #0F172A;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-badges-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.badge-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.badge-active { background: rgba(16, 185, 129, 0.08); color: var(--accent-teal); border: 1px solid rgba(16, 185, 129, 0.15); }
.badge-inactive { background: rgba(244, 63, 94, 0.08); color: var(--accent-coral); border: 1px solid rgba(244, 63, 94, 0.15); }
.badge-verified { background: rgba(99, 102, 241, 0.08); color: var(--accent-indigo); border: 1px solid rgba(99, 102, 241, 0.15); }
.badge-pending { background: rgba(249, 115, 22, 0.08); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.15); }

.staff-actions-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.staff-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.staff-action-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* --- RESPONSIVE MEDIA QUERIES FOR SERVICE OPERATIONS SPECIFICS --- */
@media (max-width: 992px) {
    .webinar-operations-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .webinar-hero-pane {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }
    
    .webinar-kpi-pane {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        padding: 1.5rem;
    }
    
    .webinar-pipeline-pane {
        flex: auto;
        padding: 1.5rem;
    }
    
    .webinar-pipeline-list-scrollable {
        max-height: 320px;
    }
    
    .webinar-pipeline-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.85rem;
    }
    
    .pipeline-row-center {
        margin: 0.25rem 0;
        width: 100%;
        order: 3;
    }
    
    .pipeline-row-right {
        order: 2;
        width: 100%;
        justify-content: space-between;
        margin-top: 0.25rem;
    }
    
    .webinar-pipeline-empty-card {
        padding: 2rem 1rem;
    }

    .top-metrics-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .top-metrics-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .staff-blocks-row-1, .staff-blocks-row-2 {
        grid-template-columns: 1fr;
    }
}
