/* ===== NAV MENU DROPDOWNS ===== */
/* Prevent MudBlazor's default uppercase on nav menu buttons */
.mud-appbar .mud-menu .mud-button-label {
    text-transform: none;
    font-weight: 400;
}

/* ===== TOOLTIP FIXES ===== */
/* Prevent tooltip popup from intercepting mouse events (stops flicker) */
.mud-tooltip {
    pointer-events: none;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Status color variables */
    --color-new: #FF9800;
    --color-pending: #795548;
    --color-on-hold: #2196F3;
    --color-to-reject: #FF6B6B;
    --color-confirmed: #00C853;
    --color-rejected: #8B0000;
    --color-cancelled: #F44336;
    --color-updated: #607D8B;
    --color-another-status: #607D8B;
    --text-color: white;
    /* Layout variables */
    --mud-drawer-width-left: 260px !important;
}

/* ===== FONTS ===== */
@font-face {
    font-family: riviera;
    src: url("../fonts/RivieraNightsRegular.woff2") format("woff2");
}

@font-face {
    font-family: TTNorms;
    src: url("../fonts/TTNorms.woff2") format("woff2");
}

@font-face {
    font-family: Akzidenz Grotesk Pro;
    src: url("../fonts/AkzidGrtskProReg4.woff2") format("woff2");
}

/* ===== BASE STYLES ===== */
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

/* ===== FORM VALIDATION ===== */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50070;
}

.validation-message {
    color: #e50070;
}

/* ===== ERROR BOUNDARY ===== */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ===== LAYOUT COMPONENTS ===== */
.form-container {
    max-width: 1000px;
    padding-bottom: 10vh;
    width: 100%;
}

.app-bar-logo {
    background-size: contain;
    background-repeat: no-repeat;
    width: 250px;
    height: auto;
}

.light-background {
    background-color: #fbfbfb !important;
}

.main-content {
    padding-bottom: 128px; /* SaveProgress height + AppBar height */
}

.container-top-margin {
    margin-top: 32px !important;
}

.fixed-banner {
    position: sticky;
    bottom: 0px;
    left: 0;
    width: 100%;
    z-index: 100 !important;
    height: auto;
    min-height: 60px;
    padding: 1px;
    background-color: #f9f9f9 !important;
}

.loading-banner {
    width: 100%;
    background-color: transparent !important;
    z-index: 1000;
    padding: 16px;
    text-align: center;
    margin-top: 16px;
}

.hourglass-animation {
    animation: hourglass-spin 1.5s infinite ease-in-out;
    color: #1976d2; /* Primary color */
}

@keyframes hourglass-spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== TABLE OF CONTENTS ===== */
.toc-card {
    position: sticky;
    position: -webkit-sticky;
    top: 115px;
    max-height: 85vh;
    overflow-y: auto;
    min-height: 100px;
    min-width: 270px;
}

    .toc-card li p {
        transition: font-size 0.1s ease;
    }

        .toc-card li p:hover {
            font-size: 17px;
            color: black;
            cursor: pointer;
        }

    .toc-card .mud-nav-link:not(.active):focus {
        background-color: transparent !important;
    }

.active p {
    font-size: 17px;
    color: black;
}

/* ===== CARDS & HOVER EFFECTS ===== */
.speaker-card {
    border-radius: 12px;
    transition: all 0.3s ease-in-out !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

    .speaker-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

        .speaker-card:hover .photo-container img {
            transform: scale(1.05);
        }

.hover-card {
    transition: all 0.2s ease-in-out !important;
}

    .hover-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.photo-container {
    width: 132px;
    height: 132px;
    border-radius: 8px;
    overflow: hidden;
    background: #d7d7d7;
    transition: transform 0.3s ease;
}

/* ===== BUTTONS & CONTROLS ===== */
.delete-button-container {
    position: absolute;
    top: 8px;
    right: 0px;
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
}

.delete-pass-button-container {
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
    position: absolute;
    top: 10px;
    right: 10px;
}

.add-button.mud-button-root:disabled {
    color: grey !important;
}

/* ===== STATUS BADGES ===== */
.badge-fix span.mud-badge {
    padding-top: 5px;
    font-size: x-small;
}

.badge-status-0 .mud-badge,
.badge-status-0.mud-chip,
.badge-status-0.header-status-pill {
    background-color: var(--color-new) !important;
    color: var(--text-color) !important;
}

.badge-status-1 .mud-badge,
.badge-status-1.mud-chip,
.badge-status-1.header-status-pill {
    background-color: var(--color-pending) !important;
    color: var(--text-color) !important;
}

.badge-status-2 .mud-badge,
.badge-status-2.mud-chip,
.badge-status-2.header-status-pill {
    background-color: var(--color-on-hold) !important;
    color: var(--text-color) !important;
}

.badge-status-3 .mud-badge,
.badge-status-3.mud-chip,
.badge-status-3.header-status-pill {
    background-color: var(--color-to-reject) !important;
    color: var(--text-color) !important;
}

.badge-status-4 .mud-badge,
.badge-status-4.mud-chip,
.badge-status-4.header-status-pill {
    background-color: var(--color-confirmed) !important;
    color: var(--text-color) !important;
}

.badge-status-5 .mud-badge,
.badge-status-5.mud-chip,
.badge-status-5.header-status-pill {
    background-color: var(--color-rejected) !important;
    color: var(--text-color) !important;
}

.badge-status-6 .mud-badge,
.badge-status-6.mud-chip,
.badge-status-6.header-status-pill {
    background-color: var(--color-cancelled) !important;
    color: var(--text-color) !important;
}

.badge-status-7 .mud-badge,
.badge-status-7.mud-chip,
.badge-status-7.header-status-pill {
    background-color: var(--color-cancelled) !important;
    color: var(--text-color) !important;
}

.badge-status-98 .mud-badge,
.badge-status-98.mud-chip,
.badge-status-98.header-status-pill {
    background-color: var(--color-updated) !important;
    color: var(--text-color) !important;
}

.badge-status-100 .mud-badge,
.badge-status-100.mud-chip,
.badge-status-100.header-status-pill {
    background-color: var(--color-another-status) !important;
    color: var(--text-color) !important;
}

/* ===== BORDER STYLES ===== */
.border-gold-highlight {
    border-left: 4px solid var(--mud-palette-tertiary);
}

.border-status-0 {
    border-left: 4px solid var(--color-new) !important;
}

.border-status-1 {
    border-left: 4px solid var(--color-pending) !important;
}

.border-status-2 {
    border-left: 4px solid var(--color-on-hold) !important;
}

.border-status-3 {
    border-left: 4px solid var(--color-to-reject) !important;
}

.border-status-4 {
    border-left: 4px solid var(--color-confirmed) !important;
}

.border-status-5 {
    border-left: 4px solid var(--color-rejected) !important;
}

.border-status-7 {
    border-left: 4px solid var(--color-cancelled) !important;
}

.border-status-98 {
    border-left: 4px solid var(--color-updated) !important;
}

.border-status-100 {
    border-left: 4px solid var(--color-another-status) !important;
}

/* ===== MUD BLAZOR OVERRIDES ===== */
.mud-list-item-icon {
    min-width: 40px !important;
}

.mud-nav-group * .mud-navmenu .mud-nav-item .mud-nav-link {
    padding-right: 16px !important;
}

.mud-alert-text-info {
    color: rgb(1, 67, 97) !important;
}

.mud-alert-text-warning {
    color: rgb(102, 60, 0) !important;
}

.mud-alert-text-error {
    color: rgb(95, 33, 32) !important;
}

.mud-alert-text-success {
    color: rgb(30, 70, 32) !important;
}

/* ===== UTILITY CLASSES ===== */
.scroll-margin-custom {
    scroll-margin-top: -200px;
}

.max-icon-size {
    max-width: 40px;
    max-height: 40px;
}

.card-container-justify {
    justify-content: center !important;
}

/* ===== SPEAKER META: INLINE EDITABLES ===== */
.speaker-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 12px;
}

/* Speaker Type Badge: compact, clickable */
.speaker-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease;
    user-select: none;
}

    .speaker-type-badge.speaker {
        background: #e8f5e9;
        color: #1b5e20;
    }

    .speaker-type-badge.moderator {
        background: #f3e5f5;
        color: #4a148c;
    }

    .speaker-type-badge.unset,
    .speaker-type-badge:not(.speaker):not(.moderator) {
        background: #f5f5f5;
        color: #666;
        border: 1px dashed #ccc;
    }

/* Speaker Order: subtle number */
.speaker-order {
    font-size: 0.85rem;
    color: #888;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.15s ease;
}

    .speaker-order:hover {
        color: #006bb7;
        background: rgba(0, 107, 183, 0.08);
    }

/* Registration section: understated */
.speaker-registration {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    margin-bottom: 16px;
}

.registration-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.registration-value {
    font-size: 0.85rem;
    color: #444;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.15s ease;
}

    .registration-value:hover {
        color: #006bb7;
        background: rgba(0, 107, 183, 0.05);
    }

.clickable {
    cursor: pointer;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.extra-dense {
    font-size: 0.81rem !important;
    padding: 4px 8px !important;
}

/* ===== ULTRA-DENSE DATAGRID ===== */
.ultra-dense-grid .mud-table-cell {
    padding: 12px 5px !important;
    font-size: 0.8rem !important;
}

.ultra-dense-grid .mud-table-head .mud-table-cell {
    font-size: 0.8rem !important;
    padding: 6px 5px !important;
}

.ultra-dense-grid .mud-input,
.ultra-dense-grid .mud-input-slot,
.ultra-dense-grid .mud-input-control input {
    font-size: 0.8rem !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.ultra-dense-grid .mud-chip {
    font-size: 0.68rem !important;
    height: 18px !important;
    padding: 0 5px !important;
}

.ultra-dense-grid .mud-icon-button {
    padding: 2px !important;
}

.ultra-dense-grid .mud-icon-root {
    font-size: 1rem !important;
    width: 1rem !important;
    height: 1rem !important;
}

.has-been-updated {
    position: relative;
}

    .has-been-updated::after {
        content: '';
        position: absolute;
        top: 0px;
        right: 0px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-top: 10px solid #ff6600;
    }

/* ===== RESPONSIVE DESIGN ===== */
@media only screen and (max-width: 1569px) {
    .toc-card {
        position: static;
    }
}

@media screen and (min-width: 768px) {
    .card-container-justify {
        justify-content: flex-start !important;
    }
}

@media only screen and (max-width: 768px) {
    .container-top-margin {
        margin-top: 5px !important;
    }
}

@media only screen and (max-width: 767px) {
    .mobile-label-sm label {
        font-size: 12px !important;
        max-width: 90%;
        padding: 0px !important;
    }
}


/* Add this to your site.css or app.css */
ul, ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5rem;
}


#fs-picker-box {
    padding: 50px !important;
}

#fs-picker-overlay {
    z-index: 2000 !important;
}

/* TinyMCE renders its dropdown/menu popups in a container appended to <body>,
   which otherwise sits behind MudBlazor's dialog backdrop when the editor is inside a MudDialog. */
.tox-tinymce-aux {
    z-index: 3000 !important;
}

/* ===== ADD/EDIT TIMESLOT DIALOG ===== */
:root {
    --primary-color: #1976d2;
    --primary-light: #42a5f5;
    --success-color: #2e7d32;
    --warning-color: #ed6c02;
    --surface: #ffffff;
    --surface-variant: #f8f9fa;
    --border-color: #e0e0e0;
    --text-primary: #1a1a1a;
    --text-secondary: #616161;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dialog-header-enhanced {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-title {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.header-subtitle {
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 2px;
}

.session-linked-chip {
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

.section-card {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface);
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}


.section-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
}

.session-link-card {
    background: #ffffff;
    border: 1px solid #e8eaf6;
}

    .session-link-card:hover {
        border-color: #c5cae9;
    }

.duration-display-enhanced {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 8px;
}

.duration-btn-enhanced {
    transition: var(--transition-standard);
    border-radius: 6px;
    font-size: 0.75rem;
}


.session-item {
    padding: 10px 12px;
    border-radius: 8px;
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

    .session-item:hover {
        background: var(--surface-variant);
        border-color: var(--border-color);
    }

.linked-session-preview {
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
}

.linked-session-preview-body {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 8px 10px 12px;
}

.linked-session-mismatch {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 7px 12px;
    background: #fff8f0;
    border-top: 1px solid #fde3c0;
}


.modern-alert {
    border-radius: 10px;
    animation: fadeInScale 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.conflict-alert {
    border-radius: 12px;
    animation: fadeInScale 0.3s ease;
    box-shadow: var(--shadow-md);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.conflict-list {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
    border: 1px solid rgba(237, 108, 2, 0.2);
}

.dialog-actions {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
}

.hover-opacity {
    transition: var(--transition-standard);
}

    .hover-opacity:hover {
        opacity: 1 !important;
        transform: scale(1.1);
    }

@media (max-width: 960px) {
    .dialog-header-enhanced {
        padding: 12px 16px;
    }

    .section-card {
        padding: 12px 14px;
    }

    .dialog-actions {
        padding: 12px 16px;
    }

    .duration-btn-enhanced {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 55px;
    }

    .linked-session-card {
        padding: 10px 12px;
    }
}

@media (max-width: 600px) {
    .duration-btn-enhanced {
        flex: 1 1 calc(50% - 6px);
    }
}

/* ===== ADMIN TAB SHARED STYLES ===== */
.tab-card {
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

.session-tab-fab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mud-tab {
    text-transform: none !important;
    font-weight: 600 !important;
}

.tab-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-field-label {
    color: #8992a3;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}


.tab-field-value {
    display: flex;
    align-items: center;
    min-height: 35px;
    padding: 5px 0;
    border-bottom: 1px solid #e1e1e1;
    font-size: 0.9rem;
    color: #222;
    gap: 6px;
    overflow: hidden; /* Prevent overflow */
    max-width: 100%; /* Constrain to container */
}

    /* Ensure text and links truncate properly */
    .tab-field-value > *,
    .tab-field-value a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        display: block;
    }

    .tab-field-value.empty {
        color: #bbb;
        font-style: italic;
    }


    .tab-field-value.clickable {
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 4px;
        border-bottom: 1px dashed rgba(0, 107, 183, 0.2);
    }

        .tab-field-value.clickable:hover {
            background-color: rgba(0, 107, 183, 0.06);
            border-bottom: 1px solid #006bb7;
            color: #006bb7;
        }

.tab-field-multiline {
    background: #fafafa;
    border-left: 3px solid #1976d2;
    border-radius: 0 4px 4px 0;
    padding: 10px 14px;
    min-height: 72px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
}

    .tab-field-multiline.empty {
        border-left-color: #e0e0e0;
        color: #bbb;
        font-style: italic;
    }

.tab-activity-panel {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .tab-activity-panel .tab-section-header {
        flex-shrink: 0;
        background: #fff;
        position: relative;
        z-index: 1;
    }

.tab-activity-scroll {
    overflow-y: auto;
    flex: 1;
    padding-right: 2px;
}

.tab-activity-entry {
    border-radius: 8px;
    transition: box-shadow 0.15s ease;
}

    .tab-activity-entry:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
/* Activity count badge — plain number, no chip affordance */
.activity-count-badge {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: #9e9e9e;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1px 8px;
    line-height: 1.6;
}

/* Email content — no coloured left bar; plain background only */
.tab-field-multiline.email-content {
    border-left: none;
    border-radius: 4px;
}

/* Status pill in session header — same visual weight as the other metadata pills */
.header-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.8rem;
    color: white;
    line-height: 1.4;
}

.tab-edit-btn {
    margin-left: auto !important;
    color: #ccc !important;
    transition: color 0.15s ease;
}

    .tab-edit-btn:hover {
        color: #555 !important;
    }

/* ===== STATUS BADGES (SpeakersTab) ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

    /* New (0), Pending (1) - Orange */
    .status-badge.status-0,
    .status-badge.status-1 {
        background: #fff3e0;
        color: #e65100;
    }

    /* Reviewed (2) - Blue */
    .status-badge.status-2 {
        background: #e3f2fd;
        color: #1976d2;
    }

    /* To Reject (3) - Red/Warning */
    .status-badge.status-3 {
        background: #ffebee;
        color: #c62828;
    }

    /* Confirmed (4) - Green */
    .status-badge.status-4 {
        background: #e8f5e9;
        color: #2e7d32;
    }

    /* Rejected (5) - Grey */
    .status-badge.status-5 {
        background: #f5f5f5;
        color: #616161;
    }

    /* Cancelled (6) - Dark grey */
    .status-badge.status-6 {
        background: #eceff1;
        color: #455a64;
    }

/* ===== PUBLISH STATUS BADGE ===== */
.publish-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
}

    .publish-status-badge.unpublished {
        background: #fff3e0;
        color: #e65100;
    }

    .publish-status-badge.ready {
        background: #e3f2fd;
        color: #1976d2;
    }

    .publish-status-badge.published {
        background: #e8f5e9;
        color: #2e7d32;
    }
/* thumbnail hover overlay for AssetsTab */
.thumbnail-container {
    position: relative;
    overflow: hidden;
}

.thumbnail-wrapper {
    transition: transform 0.2s ease;
}

.file-card:hover .thumbnail-wrapper {
    transform: scale(1.03);
}

.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.file-card:hover .hover-overlay {
    opacity: 1;
}

/* ===== SESSION LIST ITEMS (Speaker Details) ===== */
.session-list-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .session-list-item:hover {
        background: #f0f7ff;
        border-color: #90caf9;
        box-shadow: 0 2px 6px rgba(25, 118, 210, 0.15);
    }

.max-avatar-style {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.875rem !important;
    border: 2.5px solid black !important;
    box-sizing: border-box !important;
}