/* ==========================================================================
   VirtuFit Theme & Three-Section Layout for MondayHour Room
   Strict Dark Mode | Neon Emerald Green Accents | Cyber-Brutalist Aesthetic
   Developer - Chareen MaCno
   ========================================================================== */

:root {
    /* Strict Dark Palette */
    --virtu-bg-deep: #090d14;
    --virtu-bg-sidebar: #0d121b;
    --virtu-bg-card: #131924;
    --virtu-bg-card-hover: #182130;
    --virtu-bg-surface: #171f2c;
    --virtu-bg-overlay: rgba(9, 13, 20, 0.75);

    /* Cyber Neon Emerald Palette */
    --virtu-emerald: #2feaa8;
    --virtu-emerald-dark: #10b981;
    --virtu-emerald-glow: rgba(47, 234, 168, 0.35);
    --virtu-emerald-soft: rgba(47, 234, 168, 0.12);
    --virtu-emerald-border: rgba(47, 234, 168, 0.28);

    /* Accents & Status */
    --virtu-coral-red: #ff4757;
    --virtu-coral-glow: rgba(255, 71, 87, 0.35);
    --virtu-pink-badge: #ff477e;
    --virtu-blue-cyan: #00d2d3;
    --virtu-text-main: #f8fafc;
    --virtu-text-muted: #8492a6;
    --virtu-text-dim: #4b586d;

    /* Cyber-Brutalist Borders & Radii */
    --virtu-border-subtle: 1px solid rgba(255, 255, 255, 0.07);
    --virtu-border-cyber: 1px solid #1f2a3a;
    --virtu-border-highlight: 1px solid rgba(47, 234, 168, 0.4);
    --virtu-radius-sm: 8px;
    --virtu-radius-md: 14px;
    --virtu-radius-lg: 18px;
    --virtu-radius-xl: 22px;
    --virtu-radius-pill: 9999px;

    /* Transitions & Shadows */
    --virtu-shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --virtu-shadow-emerald: 0 0 20px -3px rgba(47, 234, 168, 0.4);
    --virtu-font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, monospace;
}

/* Light Mode Root Variables */
:root[data-theme="light"],
html[data-theme="light"],
body.virtu-light-mode {
    /* Refined Light Palette */
    --virtu-bg-deep: #f1f5f9;
    --virtu-bg-sidebar: #ffffff;
    --virtu-bg-card: #ffffff;
    --virtu-bg-card-hover: #f8fafc;
    --virtu-bg-surface: #e2e8f0;
    --virtu-bg-overlay: rgba(241, 245, 249, 0.85);

    /* Clean Emerald for high contrast on light backgrounds */
    --virtu-emerald: #059669;
    --virtu-emerald-dark: #047857;
    --virtu-emerald-glow: rgba(5, 150, 105, 0.22);
    --virtu-emerald-soft: rgba(5, 150, 105, 0.1);
    --virtu-emerald-border: rgba(5, 150, 105, 0.3);

    /* Accents & Status */
    --virtu-coral-red: #ef4444;
    --virtu-coral-glow: rgba(239, 68, 68, 0.2);
    --virtu-pink-badge: #e11d48;
    --virtu-blue-cyan: #0284c7;
    --virtu-text-main: #0f172a;
    --virtu-text-muted: #64748b;
    --virtu-text-dim: #94a3b8;

    /* Light Borders & Shadows */
    --virtu-border-subtle: 1px solid rgba(0, 0, 0, 0.08);
    --virtu-border-cyber: 1px solid #e2e8f0;
    --virtu-border-highlight: 1px solid rgba(5, 150, 105, 0.4);
    --virtu-shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --virtu-shadow-emerald: 0 0 16px -2px rgba(5, 150, 105, 0.25);
}

/* Base Reset & Body Overrides */
html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--virtu-bg-deep) !important;
    color: var(--virtu-text-main);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Three-Section App Layout
   ========================================================================== */
#virtuAppContainer {
    display: flex;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--virtu-bg-deep);
    position: relative;
    z-index: 10;
}

/* Left Sidebar is completely removed */
#virtuLeftSidebar {
    display: none !important;
}

/* ==========================================================================
   Central Area (Main Video Stream expands fully)
   ========================================================================== */
#virtuCenterStage {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 24px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: var(--virtu-bg-deep) !important;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Top Meeting Header */
.virtu-center-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    flex-shrink: 0;
}

.virtu-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.virtu-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--virtu-emerald-soft);
    color: var(--virtu-emerald);
    font-size: 13px;
}

.virtu-meeting-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.virtu-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.virtu-header-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--virtu-radius-sm);
    background: var(--virtu-bg-card);
    border: var(--virtu-border-cyber);
    color: var(--virtu-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.virtu-header-btn:hover {
    color: #ffffff;
    border-color: var(--virtu-emerald-border);
}

.virtu-header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--virtu-coral-red);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--virtu-bg-deep);
}

/* ==========================================================================
   2. Video Stage Layout (Responsive Horizontal Flex Grid & Large Active Speaker)
   ========================================================================== */

/* Top Participant Video Grid: Responsive horizontal flex row centered above main active speaker */
.virtu-top-video-row,
#virtuTopVideoRow {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    height: 126px !important;
    min-height: 126px !important;
    max-height: 126px !important;
    flex-shrink: 0 !important;
    padding: 6px 6px !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    z-index: 10 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(47, 234, 168, 0.4) transparent !important;
    transition: all 0.25s ease !important;
}

/* Complete Collapse when there are no remote participants (alone in the room) */
.virtu-top-video-row:empty,
#virtuTopVideoRow:empty,
.virtu-top-video-row.is-empty,
#virtuTopVideoRow.is-empty,
.virtu-top-video-row:not(:has(.Camera)),
#virtuTopVideoRow:not(:has(.Camera)),
.virtu-top-video-row:has(#videoMediaContainer:empty),
#virtuTopVideoRow:has(#videoMediaContainer:empty),
.virtu-top-video-row:has(#videoMediaContainer.is-empty),
#virtuTopVideoRow:has(#videoMediaContainer.is-empty),
#virtuCenterStage.single-speaker-mode .virtu-top-video-row,
#virtuCenterStage.single-speaker-mode #virtuTopVideoRow,
#virtuCenterStage.virtu-mode-grid .virtu-top-video-row,
#virtuCenterStage.virtu-mode-grid #virtuTopVideoRow,
body.virtu-mode-grid .virtu-top-video-row,
body.virtu-mode-grid #virtuTopVideoRow,
#virtuCenterStage.virtu-mode-speaker-1-1 .virtu-top-video-row,
#virtuCenterStage.virtu-mode-speaker-1-1 #virtuTopVideoRow,
body.virtu-mode-speaker-1-1 .virtu-top-video-row,
body.virtu-mode-speaker-1-1 #virtuTopVideoRow,
#virtuCenterStage.virtu-mode-livestream .virtu-top-video-row,
#virtuCenterStage.virtu-mode-livestream #virtuTopVideoRow,
body.virtu-mode-livestream .virtu-top-video-row,
body.virtu-mode-livestream #virtuTopVideoRow,
body.virtu-focus-mode .virtu-top-video-row,
body.virtu-focus-mode #virtuTopVideoRow,
#virtuCenterStage.virtu-focus-mode .virtu-top-video-row,
#virtuCenterStage.virtu-focus-mode #virtuTopVideoRow {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

#videoMediaContainer:empty,
#videoMediaContainer.is-empty,
#videoMediaContainer:not(:has(.Camera)) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible !important;
}

.virtu-top-video-row::-webkit-scrollbar,
#virtuTopVideoRow::-webkit-scrollbar {
    height: 5px !important;
}

.virtu-top-video-row::-webkit-scrollbar-track,
#virtuTopVideoRow::-webkit-scrollbar-track {
    background: transparent !important;
}

.virtu-top-video-row::-webkit-scrollbar-thumb,
#virtuTopVideoRow::-webkit-scrollbar-thumb {
    background: rgba(47, 234, 168, 0.35) !important;
    border-radius: 4px !important;
}

.virtu-top-video-row::-webkit-scrollbar-thumb:hover,
#virtuTopVideoRow::-webkit-scrollbar-thumb:hover {
    background: var(--virtu-emerald) !important;
}

/* MiroTalk's #videoMediaContainer: strictly relative flex row centered horizontally */
#videoMediaContainer,
#virtuCenterStage #videoMediaContainer,
#virtuTopVideoRow #videoMediaContainer,
.virtu-top-video-row #videoMediaContainer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: visible !important;
    overflow-y: hidden !important;
    z-index: 10 !important;
}

/* Participant Thumbnail Cards (.Camera) in the horizontal flex row (Speaker modes) */
.virtu-top-video-row .Camera:not(.is-screenshare):not([data-is-screen="true"]),
#virtuTopVideoRow .Camera:not(.is-screenshare):not([data-is-screen="true"]),
#virtuCenterStage:not(.virtu-mode-grid):not(.virtu-mode-speaker-left) #videoMediaContainer .Camera:not(.is-screenshare):not([data-is-screen="true"]) {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: 195px !important;
    min-width: 195px !important;
    max-width: 195px !important;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    border-radius: var(--virtu-radius-lg, 16px) !important;
    border: 1px solid #1f2a3a !important;
    background-color: var(--virtu-bg-card, #131924) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.Camera:hover,
#virtuCenterStage #videoMediaContainer .Camera:hover {
    border-color: var(--virtu-emerald-border, rgba(47, 234, 168, 0.4)) !important;
    box-shadow: 0 4px 16px rgba(47, 234, 168, 0.25) !important;
    transform: translateY(-2px) !important;
}

.Camera.active-speaker,
.Camera[data-speaking="true"],
.Camera.speaking,
#virtuCenterStage #videoMediaContainer .Camera.active-speaker {
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 16px var(--virtu-emerald-glow) !important;
}

/* Video inside thumbnail card */
.Camera video,
#virtuCenterStage #videoMediaContainer .Camera video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Avatar / Initial Image when camera is off in thumbnail cards (Top row / Left sidebar) */
.virtu-top-video-row .Camera .videoAvatarImage,
#virtuTopVideoRow .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow .Camera .videoAvatarImage,
body.virtu-mode-speaker-left #virtuTopVideoRow .Camera .videoAvatarImage,
#virtuCenterStage:not(.virtu-mode-grid) #videoMediaContainer .Camera .videoAvatarImage {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    border: 2px solid var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 12px var(--virtu-emerald-glow) !important;
    background: var(--virtu-bg-surface, #171f2c) !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 2 !important;
}

/* ==========================================================================
   Main Stage / Host Active Speaker Avatar Sizing
   (Speaker Left, Speaker Top, 1:1, Livestream, Single Speaker, & Pinned Hero)
   Matches the large hero stage with prominent Google Meet/Zoom proportions
   ========================================================================== */
#virtuMainVideoWrapper .videoAvatarImage,
.virtu-main-video-wrapper .videoAvatarImage,
#virtuCenterStage #videoPinMediaContainer .videoAvatarImage,
#videoPinMediaContainer .videoAvatarImage,
.pinned-video-container .videoAvatarImage,
#virtuMainVideoWrapper .pinned-video-container .videoAvatarImage,
#virtuCenterStage.virtu-mode-speaker-left #virtuMainVideoWrapper .videoAvatarImage,
#virtuCenterStage.virtu-mode-speaker-top #virtuMainVideoWrapper .videoAvatarImage,
#virtuCenterStage.virtu-mode-speaker-1-1 #virtuMainVideoWrapper .videoAvatarImage,
#virtuCenterStage.virtu-mode-livestream #virtuMainVideoWrapper .videoAvatarImage,
#virtuCenterStage.single-speaker-mode #virtuMainVideoWrapper .videoAvatarImage {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: clamp(140px, 18vw, 190px) !important;
    height: clamp(140px, 18vw, 190px) !important;
    min-width: 140px !important;
    min-height: 140px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    border-radius: 50% !important;
    border: 4px solid rgba(47, 234, 168, 0.65) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(47, 234, 168, 0.25) !important;
    background: #171f2c !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 3 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease !important;
}

/* Active Speaker pulse for Main Stage / Host Avatar */
#virtuMainVideoWrapper .pinned-video-container.active-speaker .videoAvatarImage,
#virtuMainVideoWrapper .pinned-video-container[data-speaking="true"] .videoAvatarImage,
#virtuMainVideoWrapper .Camera.active-speaker .videoAvatarImage,
#virtuMainVideoWrapper .Camera[data-speaking="true"] .videoAvatarImage,
#videoPinMediaContainer .pinned-video-container.active-speaker .videoAvatarImage,
#videoPinMediaContainer .pinned-video-container[data-speaking="true"] .videoAvatarImage,
#videoPinMediaContainer.active-speaker .videoAvatarImage {
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 0 6px var(--virtu-emerald, #2feaa8), 0 0 45px var(--virtu-emerald-glow) !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

/* Host / Main Stage Card Surface when Camera is Off */
#virtuMainVideoWrapper:has(.videoAvatarImage[style*="display: block"]),
#virtuMainVideoWrapper:has(.pinned-video-container[data-camera-off="true"]),
#videoPinMediaContainer:has(.videoAvatarImage[style*="display: block"]),
.pinned-video-container[data-camera-off="true"],
.pinned-video-container:has(.videoAvatarImage[style*="display: block"]) {
    background: radial-gradient(circle at center, #1b2434 0%, #0d121c 100%) !important;
}

/* Light mode support for Main Stage / Host Avatar */
body.virtu-light-mode #virtuMainVideoWrapper .videoAvatarImage,
html[data-theme="light"] #virtuMainVideoWrapper .videoAvatarImage,
body.virtu-light-mode #videoPinMediaContainer .videoAvatarImage,
html[data-theme="light"] #videoPinMediaContainer .videoAvatarImage,
body.virtu-light-mode .pinned-video-container .videoAvatarImage,
html[data-theme="light"] .pinned-video-container .videoAvatarImage {
    border: 4px solid #059669 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 20px rgba(5, 150, 105, 0.2) !important;
    background: #ffffff !important;
}

body.virtu-light-mode #virtuMainVideoWrapper:has(.videoAvatarImage[style*="display: block"]),
html[data-theme="light"] #virtuMainVideoWrapper:has(.videoAvatarImage[style*="display: block"]) {
    background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%) !important;
}

/* Name tag and badges inside thumbnail card */
.Camera .username,
.Camera .peer-name,
#virtuCenterStage #videoMediaContainer .Camera .username,
#virtuCenterStage #videoMediaContainer .Camera .peer-name {
    position: absolute !important;
    bottom: 6px !important;
    left: 8px !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    background: rgba(9, 13, 20, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    pointer-events: none !important;
    max-width: calc(100% - 16px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==========================================================================
   Modern Participant Video Card Top Menu Bar (Floating Cyber Glass Pill)
   ========================================================================== */
.videoMenuBar,
.Camera .videoMenuBar,
.pinned-video-container .videoMenuBar,
#videoPinMediaContainer .videoMenuBar,
#virtuMainVideoWrapper .videoMenuBar,
#virtuTopVideoRow .videoMenuBar,
#virtuSideVideoColumn .videoMenuBar,
.videoMenuBarShare,
.videoAvatarMenuBar {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    height: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    background: rgba(14, 20, 31, 0.82) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    z-index: 15 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-4px) !important;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Ensure hidden state is honored */
.videoMenuBar.hidden,
.videoMenuBarShare.hidden,
.videoAvatarMenuBar.hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hover and focus-within states reveal the floating pill smoothly */
.Camera:hover .videoMenuBar:not(.hidden),
.Camera:focus-within .videoMenuBar:not(.hidden),
.Camera.show-menu .videoMenuBar:not(.hidden),
.pinned-video-container:hover .videoMenuBar:not(.hidden),
#videoPinMediaContainer:hover .videoMenuBar:not(.hidden),
#virtuMainVideoWrapper:hover .videoMenuBar:not(.hidden),
#virtuTopVideoRow:hover .videoMenuBar:not(.hidden),
#virtuSideVideoColumn:hover .videoMenuBar:not(.hidden),
.videoMenuBar:hover,
.videoMenuBar:focus-within,
.videoMenuBar.show:not(.hidden),
.videoMenuBar.fadeInDown:not(.hidden),
.videoMenuBarShare:not(.hidden),
.videoAvatarMenuBar:not(.hidden) {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Circular cyber action buttons inside top menu bar */
.videoMenuBar button,
.videoMenuBar .navbar-dropdown button,
.videoMenuBarShare button,
.videoAvatarMenuBar button {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.videoMenuBar button:hover,
.videoMenuBar .navbar-dropdown button:hover,
.videoMenuBarShare button:hover,
.videoAvatarMenuBar button:hover {
    background: rgba(47, 234, 168, 0.22) !important;
    border-color: rgba(47, 234, 168, 0.45) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 10px rgba(47, 234, 168, 0.3) !important;
}

.videoMenuBar button:active,
.videoMenuBarShare button:active,
.videoAvatarMenuBar button:active {
    transform: scale(0.95) !important;
}

/* Pinned state highlight */
.videoMenuBar button[style*="lime"],
.videoMenuBar button[style*="rgb(0, 255, 0)"],
.pinned-video-container .videoMenuBar button[id$="__pin"],
.pinned-video-container .videoMenuBar button[id$="__img__pin"] {
    color: var(--virtu-emerald, #2feaa8) !important;
    background: rgba(47, 234, 168, 0.22) !important;
    border-color: rgba(47, 234, 168, 0.5) !important;
    box-shadow: 0 0 8px rgba(47, 234, 168, 0.4) !important;
}

/* Focus mode active button highlight */
.videoMenuBar button[style*="10b981"],
.videoMenuBar button.focus-mode-active,
.Camera[focus-mode] .videoMenuBar button[id$="__hideALL"],
.pinned-video-container[focus-mode] .videoMenuBar button[id$="__hideALL"],
.navbar-dropdown-item.focus-mode-active {
    color: var(--virtu-emerald, #2feaa8) !important;
    background: rgba(47, 234, 168, 0.22) !important;
    border-color: rgba(47, 234, 168, 0.5) !important;
    box-shadow: 0 0 8px rgba(47, 234, 168, 0.4) !important;
}

/* Ping badge clickable & interactive */
#virtuPingPill {
    cursor: pointer !important;
    transition: transform 0.18s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}
#virtuPingPill:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 12px rgba(47, 234, 168, 0.35) !important;
}

/* Red accent on muted/slash icons */
.videoMenuBar button.fa-microphone-slash,
.videoMenuBar button.fa-video-slash,
.videoMenuBar button i.fa-microphone-slash,
.videoMenuBar button i.fa-video-slash {
    color: #ef4444 !important;
}
.videoMenuBar button.fa-microphone-slash:hover,
.videoMenuBar button.fa-video-slash:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    color: #f87171 !important;
}

/* Session timer inside menu bar */
.videoMenuBar .navbar-session-time,
.videoMenuBar .current-session-time {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 4px !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
}

/* Modern Cyber & Emerald Range Slider (replaces ugly default blue slider) */
.videoMenuBar input[type='range'],
.navbar-dropdown-content input[type='range'] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    height: 20px !important;
    width: clamp(55px, 12vw, 84px) !important;
    min-width: 48px !important;
    max-width: 90px !important;
    cursor: pointer !important;
    margin: 0 3px !important;
    padding: 0 !important;
    outline: none !important;
    border: none !important;
    flex-shrink: 1 !important;
}

/* Slider Track */
.videoMenuBar input[type='range']::-webkit-slider-runnable-track,
.navbar-dropdown-content input[type='range']::-webkit-slider-runnable-track {
    width: 100% !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 4px !important;
    border: none !important;
    transition: background 0.2s ease !important;
}

.videoMenuBar input[type='range']:hover::-webkit-slider-runnable-track,
.videoMenuBar input[type='range']:focus::-webkit-slider-runnable-track,
.navbar-dropdown-content input[type='range']:hover::-webkit-slider-runnable-track {
    background: rgba(47, 234, 168, 0.4) !important;
}

.videoMenuBar input[type='range']::-moz-range-track,
.navbar-dropdown-content input[type='range']::-moz-range-track {
    width: 100% !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 4px !important;
    border: none !important;
}

.videoMenuBar input[type='range']:hover::-moz-range-track,
.navbar-dropdown-content input[type='range']:hover::-moz-range-track {
    background: rgba(47, 234, 168, 0.4) !important;
}

/* Slider Thumb */
.videoMenuBar input[type='range']::-webkit-slider-thumb,
.navbar-dropdown-content input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 12px !important;
    width: 12px !important;
    border-radius: 50% !important;
    background: #2feaa8 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(47, 234, 168, 0.75), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-top: -4px !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.videoMenuBar input[type='range']:hover::-webkit-slider-thumb,
.videoMenuBar input[type='range']:active::-webkit-slider-thumb,
.navbar-dropdown-content input[type='range']:hover::-webkit-slider-thumb {
    transform: scale(1.22) !important;
    box-shadow: 0 0 12px rgba(47, 234, 168, 0.95), 0 2px 5px rgba(0, 0, 0, 0.6) !important;
}

.videoMenuBar input[type='range']::-moz-range-thumb,
.navbar-dropdown-content input[type='range']::-moz-range-thumb {
    height: 12px !important;
    width: 12px !important;
    border-radius: 50% !important;
    background: #2feaa8 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(47, 234, 168, 0.75), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}

.videoMenuBar input[type='range']::-moz-range-progress,
.navbar-dropdown-content input[type='range']::-moz-range-progress {
    background: #2feaa8 !important;
    height: 4px !important;
    border-radius: 4px !important;
}

/* Modern Dropdown Overlay styling matching theme */
.navbar-dropdown-content {
    background: rgba(14, 20, 31, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55) !important;
    padding: 6px !important;
}

.navbar-dropdown-item {
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    color: #e2e8f0 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.navbar-dropdown-item:hover {
    background: rgba(47, 234, 168, 0.14) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
}

.navbar-dropdown-item:hover button,
.navbar-dropdown-item:hover i {
    color: var(--virtu-emerald, #2feaa8) !important;
}

/* Middle Stage Row: Houses Active Speaker + Docked Chat Panel */
.virtu-middle-stage,
#virtuMiddleStage {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 18px !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#virtuCenterStage.single-speaker-mode .virtu-middle-stage,
#virtuCenterStage.single-speaker-mode #virtuMiddleStage {
    flex: 1 1 0% !important;
    height: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Central Active Speaker Container (Large & Centered) */
.virtu-main-video-wrapper,
#virtuMainVideoWrapper {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    border-radius: var(--virtu-radius-xl, 22px) !important;
    background-color: var(--virtu-bg-card, #131924) !important;
    border: var(--virtu-border-cyber, 1px solid #1f2a3a) !important;
    box-shadow: var(--virtu-shadow-card) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    z-index: 1 !important;
    transition: all 0.25s ease !important;
}

/* Fluidly expands to occupy full available screen height when user is alone in the room or in Focus Mode */
#virtuCenterStage.single-speaker-mode .virtu-main-video-wrapper,
#virtuCenterStage.single-speaker-mode #virtuMainVideoWrapper,
body.virtu-focus-mode .virtu-main-video-wrapper,
body.virtu-focus-mode #virtuMainVideoWrapper,
#virtuCenterStage.virtu-focus-mode .virtu-main-video-wrapper,
#virtuCenterStage.virtu-focus-mode #virtuMainVideoWrapper,
body.virtu-focus-mode .virtu-middle-stage,
body.virtu-focus-mode #virtuMiddleStage,
#virtuCenterStage.virtu-focus-mode .virtu-middle-stage,
#virtuCenterStage.virtu-focus-mode #virtuMiddleStage {
    flex: 1 1 0% !important;
    height: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Focus Mode: Dropdown menu item active styling (compatible with both Dark and Light mode) */
.navbar-dropdown-item.focus-mode-active,
.navbar-dropdown-item.focus-mode-active button,
.navbar-dropdown-item.focus-mode-active span,
.navbar-dropdown-item.focus-mode-active i {
    color: #10b981 !important;
    font-weight: 600 !important;
}

body.virtu-light-mode .navbar-dropdown-item.focus-mode-active,
body.virtu-light-mode .navbar-dropdown-item.focus-mode-active button,
body.virtu-light-mode .navbar-dropdown-item.focus-mode-active span,
body.virtu-light-mode .navbar-dropdown-item.focus-mode-active i,
html[data-theme="light"] .navbar-dropdown-item.focus-mode-active,
html[data-theme="light"] .navbar-dropdown-item.focus-mode-active button,
html[data-theme="light"] .navbar-dropdown-item.focus-mode-active span,
html[data-theme="light"] .navbar-dropdown-item.focus-mode-active i {
    color: #059669 !important;
    font-weight: 600 !important;
}

/* MiroTalk pinned video container holding the active speaker stream */
#videoPinMediaContainer,
#virtuCenterStage #videoPinMediaContainer,
#virtuCenterStage.virtu-mode-speaker-top #videoPinMediaContainer,
#virtuCenterStage.virtu-mode-speaker-left #videoPinMediaContainer,
#virtuCenterStage.virtu-mode-speaker-1-1 #videoPinMediaContainer,
#virtuCenterStage.virtu-mode-livestream #videoPinMediaContainer,
body.virtu-mode-speaker-top #videoPinMediaContainer,
body.virtu-mode-speaker-left #videoPinMediaContainer,
body.virtu-mode-speaker-1-1 #videoPinMediaContainer,
body.virtu-mode-livestream #videoPinMediaContainer {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 8px 12px 96px 12px !important; /* Critical 96px bottom clearance for floating #bottomButtons */
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#virtuCenterStage #videoPinMediaContainer .pinned-video-container,
#videoPinMediaContainer .pinned-video-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    border-radius: var(--virtu-radius-xl, 22px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: #000000 !important;
}

#virtuCenterStage #videoPinMediaContainer video,
#videoPinMediaContainer video,
.pinned-video-container video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: var(--virtu-radius-xl, 22px) !important;
    background: #000000 !important;
}

/* Full Uncropped Screenshare Display - Fits entire screen content without clipping/cutting off */
#virtuCenterStage #videoPinMediaContainer video.is-screenshare,
#virtuCenterStage #videoPinMediaContainer video[data-is-screen="true"],
#virtuCenterStage .pinned-video-container.is-screenshare video,
#virtuCenterStage .pinned-video-container[data-is-screen="true"] video,
#videoPinMediaContainer video.is-screenshare,
#videoPinMediaContainer video[data-is-screen="true"],
.pinned-video-container.is-screenshare video,
.pinned-video-container[data-is-screen="true"] video,
#virtuMainVideoWrapper video.is-screenshare,
#virtuMainVideoWrapper video[data-is-screen="true"],
#virtuMainVideoWrapper .is-screenshare video,
video.is-screenshare,
video[data-is-screen="true"],
.Camera.is-screenshare video,
.Camera[data-is-screen="true"] video,
.Camera video.is-screenshare,
.Camera video[data-is-screen="true"],
video[id*="_screen_"],
video[id*="-screen-sharing"] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Full uncropped screenshare: never cut off sides or top/bottom */
    border-radius: var(--virtu-radius-xl, 22px) !important;
    display: block !important;
    background: #000000 !important;
}

/* Screen Share Active: Stage and Wrapper Sizing */
#virtuMainVideoWrapper.has-screenshare,
.virtu-main-video-wrapper.has-screenshare {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#virtuMainVideoWrapper.has-screenshare #videoPinMediaContainer,
.virtu-main-video-wrapper.has-screenshare #videoPinMediaContainer {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 8px 12px 96px 12px !important; /* Critical 96px bottom clearance so floating #bottomButtons NEVER overlaps screenshare */
    box-sizing: border-box !important;
    margin: 0 !important;
}

#virtuMainVideoWrapper.has-screenshare .pinned-video-container,
.virtu-main-video-wrapper.has-screenshare .pinned-video-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* User Toggle: Optional Cover (Fill Background) Mode when explicitly selected via button */
body.screenshare-fit-cover #virtuCenterStage #videoPinMediaContainer video.is-screenshare,
body.screenshare-fit-cover #virtuCenterStage #videoPinMediaContainer video[data-is-screen="true"],
body.screenshare-fit-cover #virtuCenterStage .pinned-video-container.is-screenshare video,
body.screenshare-fit-cover #virtuCenterStage .pinned-video-container[data-is-screen="true"] video,
body.screenshare-fit-cover #videoPinMediaContainer video.is-screenshare,
body.screenshare-fit-cover #videoPinMediaContainer video[data-is-screen="true"],
body.screenshare-fit-cover .pinned-video-container.is-screenshare video,
body.screenshare-fit-cover .pinned-video-container[data-is-screen="true"] video,
body.screenshare-fit-cover #virtuMainVideoWrapper video.is-screenshare,
body.screenshare-fit-cover #virtuMainVideoWrapper video[data-is-screen="true"],
body.screenshare-fit-cover #virtuMainVideoWrapper .is-screenshare video,
body.screenshare-fit-cover video.is-screenshare,
body.screenshare-fit-cover video[data-is-screen="true"],
body.screenshare-fit-cover .Camera.is-screenshare video,
body.screenshare-fit-cover .Camera[data-is-screen="true"] video,
video.is-screenshare.fit-cover,
.is-screenshare.fit-cover video {
    object-fit: cover !important;
}

/* Default Contain Mode explicitly enforced */
body.screenshare-fit-contain #virtuCenterStage #videoPinMediaContainer video.is-screenshare,
body.screenshare-fit-contain #virtuCenterStage #videoPinMediaContainer video[data-is-screen="true"],
body.screenshare-fit-contain #virtuCenterStage .pinned-video-container.is-screenshare video,
body.screenshare-fit-contain #virtuCenterStage .pinned-video-container[data-is-screen="true"] video,
body.screenshare-fit-contain #videoPinMediaContainer video.is-screenshare,
body.screenshare-fit-contain #videoPinMediaContainer video[data-is-screen="true"],
body.screenshare-fit-contain .pinned-video-container.is-screenshare video,
body.screenshare-fit-contain .pinned-video-container[data-is-screen="true"] video,
body.screenshare-fit-contain #virtuMainVideoWrapper video.is-screenshare,
body.screenshare-fit-contain #virtuMainVideoWrapper video[data-is-screen="true"],
body.screenshare-fit-contain #virtuMainVideoWrapper .is-screenshare video,
body.screenshare-fit-contain video.is-screenshare,
body.screenshare-fit-contain video[data-is-screen="true"],
video.is-screenshare.fit-contain,
.is-screenshare.fit-contain video {
    object-fit: contain !important;
}

/* Floating Quick Toggle Pill: Fit Screen / Fill Meeting Background */
.virtu-screenshare-toggle-btn {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 60 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background: rgba(19, 25, 36, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(47, 234, 168, 0.35) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 10px rgba(47, 234, 168, 0.15) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
}

.virtu-screenshare-toggle-btn:hover {
    background: rgba(23, 31, 44, 0.95) !important;
    border-color: var(--virtu-emerald, #2feaa8) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px var(--virtu-emerald-glow) !important;
    transform: translateY(-1px) !important;
}

.virtu-screenshare-toggle-btn i {
    font-size: 13px !important;
}

body.virtu-controls-idle .virtu-screenshare-toggle-btn {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Floating Bottom Control Dock (#bottomButtons) - Video Floating Center Dock
   ========================================================================== */
#bottomButtons,
#virtuMainVideoWrapper #bottomButtons,
#virtuCenterStage #bottomButtons,
div#bottomButtons {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 50 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    scrollbar-width: none !important;
    pointer-events: auto !important;
}

#bottomButtons::-webkit-scrollbar,
#virtuCenterStage #bottomButtons::-webkit-scrollbar {
    display: none !important;
}

/* Hide CC and Emoji buttons as requested */
#bottomButtons #transcriptionButton,
#virtuMainVideoWrapper #bottomButtons #transcriptionButton,
#bottomButtons #emojiRoomButton,
#virtuMainVideoWrapper #bottomButtons #emojiRoomButton {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Order the dock items:
   1: Mic (#startAudioSplit)
   2: Cam (#startVideoSplit)
   3: Screen Share (#startScreenSplit)
   4: Raise Hand (#raiseHandSplit)
   5: Whiteboard (#whiteboardButton)
   6: Recording (#startRecSplit)
   7: Breakout Rooms (#breakoutRoomButton)
   8: End Call (#exitDropdown)
*/
#bottomButtons #startAudioSplit,
#virtuMainVideoWrapper #bottomButtons #startAudioSplit {
    order: 1 !important;
    display: inline-flex !important;
}

#bottomButtons #startVideoSplit,
#virtuMainVideoWrapper #bottomButtons #startVideoSplit {
    order: 2 !important;
    display: inline-flex !important;
}

#bottomButtons #startScreenSplit,
#virtuMainVideoWrapper #bottomButtons #startScreenSplit {
    order: 3 !important;
    display: inline-flex !important;
}

#bottomButtons #raiseHandSplit,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit {
    order: 4 !important;
    display: inline-flex !important;
}

#bottomButtons #whiteboardButton,
#virtuMainVideoWrapper #bottomButtons #whiteboardButton {
    order: 5 !important;
    display: inline-flex !important;
}

#bottomButtons #startRecSplit,
#virtuMainVideoWrapper #bottomButtons #startRecSplit {
    order: 6 !important;
    display: inline-flex !important;
}

#bottomButtons #breakoutRoomButton,
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton {
    order: 7 !important;
    display: inline-flex !important;
}

#bottomButtons #exitDropdown,
#virtuMainVideoWrapper #bottomButtons #exitDropdown {
    order: 8 !important;
    display: inline-flex !important;
}

/* Remove Chat button from bottomButtons dock */
#bottomButtons #chatButton,
#virtuMainVideoWrapper #bottomButtons #chatButton {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* In split wrappers, only the active button is visible */
#bottomButtons #startAudioSplit button.hidden,
#bottomButtons #startVideoSplit button.hidden,
#bottomButtons #startScreenSplit button.hidden,
#bottomButtons #raiseHandSplit button.hidden,
#bottomButtons #startRecSplit button.hidden {
    display: none !important;
}

/* Prevent empty split-btn wrappers from taking up space (fixes ghost gaps) */
#bottomButtons .split-btn,
#virtuMainVideoWrapper #bottomButtons .split-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#bottomButtons .split-btn:not(:has(> button:not(.hidden))),
#virtuMainVideoWrapper #bottomButtons .split-btn:not(:has(> button:not(.hidden))) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fallbacks to make sure one button is always shown if neither has .hidden */
#bottomButtons #startScreenSplit:not(:has(button:not(.hidden))) #startScreenButton,
#bottomButtons #raiseHandSplit:not(:has(button:not(.hidden))) #raiseHandButton,
#bottomButtons #startRecSplit:not(:has(button:not(.hidden))) #startRecButton {
    display: inline-flex !important;
}

/* Hide all other items in #bottomButtons so ONLY the 7 active tool items and end call show */
#bottomButtons>*:not(#startAudioSplit):not(#startVideoSplit):not(#startScreenSplit):not(#raiseHandSplit):not(#exitDropdown):not(#whiteboardButton):not(#startRecSplit):not(#breakoutRoomButton),
#virtuMainVideoWrapper #bottomButtons>*:not(#startAudioSplit):not(#startVideoSplit):not(#startScreenSplit):not(#raiseHandSplit):not(#exitDropdown):not(#whiteboardButton):not(#startRecSplit):not(#breakoutRoomButton) {
    display: none !important;
}

/* Common circular style for dock buttons, 3-dots button, and end call button (compact 38px) */
#bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle),
#bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle),
#bottomButtons #startScreenSplit>button:not(.hidden),
#bottomButtons #raiseHandSplit>button:not(.hidden),
#bottomButtons #whiteboardButton:not(.hidden),
#bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording),
#bottomButtons #breakoutRoomButton:not(.hidden),
#bottomButtons #settingsButton:not(.hidden),
#bottomButtons #exitDropdown #exitButton,
#bottomButtons #exitButton,
#virtuDockRightGroup #settingsButton,
.virtu-dock-right-group #settingsButton,
#virtuDockRightGroup #settingsSplit > #settingsButton,
#virtuMainVideoWrapper #bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle),
#virtuMainVideoWrapper #bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle),
#virtuMainVideoWrapper #bottomButtons #startScreenSplit>button:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit>button:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #whiteboardButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording),
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #settingsButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton,
#virtuMainVideoWrapper #bottomButtons #exitButton,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton,
#virtuCenterStage #bottomButtons #exitButton {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: rgba(20, 27, 38, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#bottomButtons #startScreenSplit>button:not(.hidden):hover,
#bottomButtons #raiseHandSplit>button:not(.hidden):hover,
#bottomButtons #whiteboardButton:not(.hidden):hover,
#bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording):hover,
#bottomButtons #breakoutRoomButton:not(.hidden):hover,
#bottomButtons #settingsButton:not(.hidden):hover,
#bottomButtons #exitDropdown #exitButton:hover,
#bottomButtons #exitButton:hover,
#virtuDockRightGroup #settingsButton:hover,
.virtu-dock-right-group #settingsButton:hover,
#virtuDockRightGroup #settingsSplit > #settingsButton:hover,
#virtuMainVideoWrapper #bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#virtuMainVideoWrapper #bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#virtuMainVideoWrapper #bottomButtons #startScreenSplit>button:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit>button:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #whiteboardButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording):hover,
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #settingsButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton:hover,
#virtuMainVideoWrapper #bottomButtons #exitButton:hover,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton:hover,
#virtuCenterStage #bottomButtons #exitButton:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Strict collapse of all hidden items in dock to guarantee zero spacing/ghost gaps */
#bottomButtons .hidden,
#bottomButtons [hidden],
#bottomButtons button.hidden,
#bottomButtons .split-btn button.hidden,
#virtuMainVideoWrapper #bottomButtons .hidden,
#virtuMainVideoWrapper #bottomButtons [hidden],
#virtuMainVideoWrapper #bottomButtons button.hidden,
#virtuMainVideoWrapper #bottomButtons .split-btn button.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Active and pressed states */
#bottomButtons #chatButton.is-active,
#bottomButtons #chatButton[aria-pressed="true"],
#bottomButtons #whiteboardButton.is-active,
#bottomButtons #whiteboardButton[aria-pressed="true"],
#bottomButtons #breakoutRoomButton.is-active,
#bottomButtons #breakoutRoomButton[aria-pressed="true"],
#virtuMainVideoWrapper #bottomButtons #chatButton.is-active,
#virtuMainVideoWrapper #bottomButtons #chatButton[aria-pressed="true"],
#virtuMainVideoWrapper #bottomButtons #whiteboardButton.is-active,
#virtuMainVideoWrapper #bottomButtons #whiteboardButton[aria-pressed="true"],
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton.is-active,
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton[aria-pressed="true"] {
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 14px var(--virtu-emerald-glow, rgba(47, 234, 168, 0.35)) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    background: rgba(47, 234, 168, 0.15) !important;
}

#bottomButtons #stopScreenButton,
#virtuMainVideoWrapper #bottomButtons #stopScreenButton {
    background: rgba(0, 194, 255, 0.25) !important;
    border-color: rgba(0, 194, 255, 0.6) !important;
    color: #00c2ff !important;
    box-shadow: 0 0 14px rgba(0, 194, 255, 0.35) !important;
}

#bottomButtons #raiseHandSplit #lowerHandButton,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit #lowerHandButton {
    background: rgba(255, 215, 0, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.6) !important;
    color: #ffd700 !important;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.4) !important;
}

#bottomButtons #raiseHandSplit #lowerHandButton svg,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit #lowerHandButton svg {
    color: #ffd700 !important;
    fill: #ffd700 !important;
}

#bottomButtons #startRecSplit #stopRecButton,
#virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton,
#bottomButtons #startRecSplit button.is-recording,
#virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording,
#bottomButtons #stopRecButton,
#virtuMainVideoWrapper #bottomButtons #stopRecButton,
body.virtu-light-mode #bottomButtons #startRecSplit #stopRecButton,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton,
body.virtu-light-mode #bottomButtons #startRecSplit button.is-recording,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording,
html[data-theme="light"] #bottomButtons #startRecSplit #stopRecButton,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton,
html[data-theme="light"] #bottomButtons #startRecSplit button.is-recording,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording {
    background: rgba(239, 68, 68, 0.22) !important;
    border: 1.5px solid #ef4444 !important;
    color: #ef4444 !important;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.75), 0 4px 12px rgba(239, 68, 68, 0.4) !important;
    animation: virtuRecBtnPulse 1.8s infinite ease-in-out !important;
    display: inline-flex !important;
}

#bottomButtons #startRecSplit #stopRecButton:hover,
#virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton:hover,
#bottomButtons #startRecSplit button.is-recording:hover,
#virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording:hover,
#bottomButtons #stopRecButton:hover,
#virtuMainVideoWrapper #bottomButtons #stopRecButton:hover,
body.virtu-light-mode #bottomButtons #startRecSplit #stopRecButton:hover,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton:hover,
html[data-theme="light"] #bottomButtons #startRecSplit #stopRecButton:hover,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton:hover {
    background: rgba(239, 68, 68, 0.38) !important;
    border-color: #ff5c5c !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.95) !important;
}

#bottomButtons #startRecSplit #stopRecButton svg,
#virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton svg,
#bottomButtons #startRecSplit button.is-recording svg,
#virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording svg,
#bottomButtons #stopRecButton svg,
#virtuMainVideoWrapper #bottomButtons #stopRecButton svg {
    color: #ef4444 !important;
    stroke: #ef4444 !important;
}

#bottomButtons #startRecSplit #stopRecButton svg circle,
#virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton svg circle,
#bottomButtons #startRecSplit button.is-recording svg circle,
#virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording svg circle,
#bottomButtons #stopRecButton svg circle,
#virtuMainVideoWrapper #bottomButtons #stopRecButton svg circle {
    stroke: #ef4444 !important;
}

#bottomButtons #startRecSplit #stopRecButton svg rect,
#virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton svg rect,
#bottomButtons #startRecSplit button.is-recording svg rect,
#virtuMainVideoWrapper #bottomButtons #startRecSplit button.is-recording svg rect,
#bottomButtons #stopRecButton svg rect,
#virtuMainVideoWrapper #bottomButtons #stopRecButton svg rect {
    fill: #ef4444 !important;
    stroke: none !important;
}

/* Light mode specific recording button surface */
body.virtu-light-mode #bottomButtons #startRecSplit #stopRecButton,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton,
html[data-theme="light"] #bottomButtons #startRecSplit #stopRecButton,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startRecSplit #stopRecButton {
    background: #fee2e2 !important;
    border: 1.5px solid #ef4444 !important;
    color: #ef4444 !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.4) !important;
}

/* Idle recording button dot */
#startRecButton .rec-dot {
    fill: #ef4444 !important;
    transition: fill 0.2s ease, transform 0.2s ease;
}

#startRecButton:hover .rec-dot {
    fill: #ff3344 !important;
    transform-origin: 12px 12px;
    transform: scale(1.15);
}

@keyframes virtuRecBtnPulse {

    0%,
    100% {
        box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
    }

    50% {
        box-shadow: 0 0 24px rgba(239, 68, 68, 0.95);
    }
}

/* Floating On-Screen Recording Badge & Live Timer */
.virtu-recording-badge {
    position: absolute !important;
    top: 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 16px !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.6) !important;
    border-radius: 9999px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(239, 68, 68, 0.35) !important;
    color: #ffffff !important;
    user-select: none !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
}

.virtu-recording-badge.hidden,
.virtu-recording-badge[hidden] {
    display: none !important;
}

.virtu-recording-badge .virtu-rec-dot {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    box-shadow: 0 0 10px #ef4444 !important;
    display: inline-block !important;
    animation: virtuRecBadgePulse 1.2s infinite ease-in-out !important;
}

@keyframes virtuRecBadgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.85);
    }
}

.virtu-recording-badge .virtu-rec-title {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.virtu-recording-badge .virtu-rec-timer {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}

/* Light mode for on-screen recording badge */
body.virtu-light-mode .virtu-recording-badge,
html[data-theme="light"] .virtu-recording-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 14px rgba(239, 68, 68, 0.25) !important;
}

body.virtu-light-mode .virtu-recording-badge .virtu-rec-title,
html[data-theme="light"] .virtu-recording-badge .virtu-rec-title {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-recording-badge .virtu-rec-timer,
html[data-theme="light"] .virtu-recording-badge .virtu-rec-timer {
    color: #0f172a !important;
}

.virtu-dock-cc {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 5px !important;
    padding: 1px 4px !important;
    line-height: 1 !important;
}

/* Exit / End Call Container & Red Round Button (Pixel-matched with all dock icons) */
#bottomButtons #exitDropdown,
#virtuMainVideoWrapper #bottomButtons #exitDropdown,
#virtuCenterStage #bottomButtons #exitDropdown {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

#bottomButtons #exitDropdown #exitButton,
#bottomButtons #exitButton,
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton,
#virtuMainVideoWrapper #bottomButtons #exitButton,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton,
#virtuCenterStage #bottomButtons #exitButton {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: #ff4757 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.45) !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

#bottomButtons #exitDropdown #exitButton:hover,
#bottomButtons #exitButton:hover,
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton:hover,
#virtuMainVideoWrapper #bottomButtons #exitButton:hover,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton:hover,
#virtuCenterStage #bottomButtons #exitButton:hover {
    background: #ff3344 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.65) !important;
}

#bottomButtons #exitDropdown #exitButton i,
#bottomButtons #exitButton i,
#bottomButtons #exitDropdown #exitButton svg,
#bottomButtons #exitButton svg,
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton svg,
#virtuMainVideoWrapper #bottomButtons #exitButton svg,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton svg,
#virtuCenterStage #bottomButtons #exitButton svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    display: inline-block !important;
    line-height: 1 !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    transform: rotate(135deg) !important;
    transform-origin: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Styling for SVG vector icons in controls and floor cards */
.virtu-svg-icon {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

#bottomButtons button .virtu-svg-icon,
#bottomButtons button svg,
#virtuMainVideoWrapper #bottomButtons button .virtu-svg-icon,
#virtuMainVideoWrapper #bottomButtons button svg {
    color: #ffffff !important;
    width: 17px !important;
    height: 17px !important;
}

#bottomButtons #startAudioSplit button svg,
#bottomButtons #startVideoSplit button svg {
    color: #ffffff !important;
}

#bottomButtons #startAudioButton svg,
#bottomButtons #startVideoButton svg {
    color: var(--virtu-coral-red, #ff4757) !important;
}

.virtu-layout-btn svg {
    color: #64748b !important;
    transition: color 0.15s ease !important;
}

.virtu-layout-btn:hover svg {
    color: #cbd5e1 !important;
}

.virtu-layout-btn.active svg,
.virtu-layout-btn[aria-pressed="true"] svg {
    color: #ffffff !important;
}

.virtu-participants-label-btn svg {
    color: #cbd5e1 !important;
    transition: color 0.15s ease !important;
}

.virtu-participants-label-btn:hover svg {
    color: var(--virtu-emerald, #2feaa8) !important;
}

.virtu-share-link-left svg {
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
}

.virtu-copy-link-btn svg {
    color: #94a3b8 !important;
    transition: color 0.15s ease !important;
}

.virtu-copy-link-btn:hover svg,
.virtu-copy-link-btn.copied svg {
    color: var(--virtu-emerald, #2feaa8) !important;
}

.virtu-add-icon-box {
    width: 16px !important;
    height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.virtu-add-icon-box svg {
    color: #0b1510 !important;
}

/* Ensure dock container and primary dock buttons are ALWAYS visible */
#bottomButtons,
#virtuMainVideoWrapper #bottomButtons,
#bottomButtons.hidden,
#virtuMainVideoWrapper #bottomButtons.hidden,
#bottomButtons #startAudioSplit,
#bottomButtons #startAudioSplit.hidden,
#bottomButtons #startVideoSplit,
#bottomButtons #startVideoSplit.hidden,
#bottomButtons #startScreenSplit,
#bottomButtons #startScreenSplit.hidden,
#bottomButtons #chatButton,
#bottomButtons #chatButton.hidden,
#bottomButtons #emojiRoomButton,
#bottomButtons #emojiRoomButton.hidden,
#bottomButtons #exitDropdown,
#bottomButtons #exitDropdown.hidden,
#bottomButtons #exitButton,
#bottomButtons #exitButton.hidden,
#bottomButtons #whiteboardButton,
#bottomButtons #whiteboardButton.hidden,
#bottomButtons #startRecSplit,
#bottomButtons #startRecSplit.hidden,
#bottomButtons #breakoutRoomButton,
#bottomButtons #breakoutRoomButton.hidden,
#bottomButtons #settingsSplit,
#bottomButtons #settingsSplit.hidden,
#bottomButtons #settingsButton,
#bottomButtons #settingsButton.hidden {
    visibility: visible !important;
    opacity: 1 !important;
}

#bottomButtons #transcriptionButton,
#bottomButtons #transcriptionButton.hidden {
    display: none !important;
    visibility: hidden !important;
}

#bottomButtons #startAudioSplit,
#bottomButtons #startAudioSplit.hidden {
    display: inline-flex !important;
}

#bottomButtons #startVideoSplit,
#bottomButtons #startVideoSplit.hidden {
    display: inline-flex !important;
}

#bottomButtons #startScreenSplit,
#bottomButtons #startScreenSplit.hidden {
    display: inline-flex !important;
}

#bottomButtons #chatButton,
#bottomButtons #chatButton.hidden {
    display: inline-flex !important;
}

#bottomButtons #emojiRoomButton,
#bottomButtons #emojiRoomButton.hidden {
    display: inline-flex !important;
}

#bottomButtons #exitDropdown,
#bottomButtons #exitDropdown.hidden {
    display: inline-flex !important;
}

#bottomButtons #exitButton,
#bottomButtons #exitButton.hidden {
    display: inline-flex !important;
}

#bottomButtons #whiteboardButton,
#bottomButtons #whiteboardButton.hidden {
    display: inline-flex !important;
}

#bottomButtons #startRecSplit,
#bottomButtons #startRecSplit.hidden {
    display: inline-flex !important;
}

#bottomButtons #breakoutRoomButton,
#bottomButtons #breakoutRoomButton.hidden {
    display: inline-flex !important;
}

#bottomButtons #settingsSplit,
#bottomButtons #settingsSplit.hidden {
    display: inline-flex !important;
}

#bottomButtons #settingsButton,
#bottomButtons #settingsButton.hidden {
    display: inline-flex !important;
}

/* In audio and video splits, only the currently active state button is visible */
#bottomButtons #startAudioSplit button.hidden,
#bottomButtons #startVideoSplit button.hidden {
    display: none !important;
}

/* Fallback: if both are marked hidden, display stop button so the icon is never missing */
#bottomButtons #startAudioSplit:not(:has(button:not(.hidden))) #stopAudioButton,
#bottomButtons #startAudioSplit:not(:has(button:not([style*="display: none"]))) #stopAudioButton {
    display: inline-flex !important;
}

#bottomButtons #startVideoSplit:not(:has(button:not(.hidden))) #stopVideoButton,
#bottomButtons #startVideoSplit:not(:has(button:not([style*="display: none"]))) #stopVideoButton {
    display: inline-flex !important;
}

/* Hide redundant chevrons and extra labels inside the dock */
#bottomButtons .device-dropdown-toggle,
#bottomButtons #startAudioDeviceDropdown,
#bottomButtons #startVideoDeviceDropdown,
#bottomButtons #participantsActionsDropdown,
#bottomButtons #participantsActionsButton,
#bottomButtons .virtu-participants-label,
.virtu-participants-label {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible !important;
}

/* Split containers act as clean zero-overhead flex wrappers without double borders or clipping */
#bottomButtons .split-btn,
#virtuCenterStage #bottomButtons .split-btn,
#bottomButtons #participantViewDropdown,
#virtuCenterStage #bottomButtons #participantViewDropdown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    height: 45px !important;
    width: auto !important;
    overflow: visible !important;
}

/* Prevent shrinking on all dock children */
#bottomButtons>*:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons>*:not(.hidden):not([hidden]) {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* All individual circular buttons inside bottom control bar */
#bottomButtons button:not(.device-dropdown-toggle):not(#barVolumeBtn):not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not([data-participant-view]):not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons button:not(.device-dropdown-toggle):not(#barVolumeBtn):not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not([data-participant-view]):not(.hidden):not([hidden]),
#bottomButtons>button:not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons>button:not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.hidden):not([hidden]),
#bottomButtons .split-btn:not(.hidden):not([hidden])>button:not(.device-dropdown-toggle):not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons .split-btn:not(.hidden):not([hidden])>button:not(.device-dropdown-toggle):not(.hidden):not([hidden]),
#bottomButtons #participantsButton:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons #participantsButton:not(.hidden):not([hidden]),
#bottomButtons #settingsButton:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons #settingsButton:not(.hidden):not([hidden]) {
    flex-shrink: 0 !important;
    position: relative !important;
    min-width: 45px !important;
    width: 45px !important;
    max-width: 45px !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Universal rule for every icon inside this bar */
#bottomButtons i,
#virtuCenterStage #bottomButtons i,
#bottomButtons button i,
#virtuCenterStage #bottomButtons button i,
#bottomButtons .split-btn i,
#virtuCenterStage #bottomButtons .split-btn i {
    flex-shrink: 0 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 15px !important;
    color: inherit !important;
}

#bottomButtons button:not(.device-dropdown-toggle):not(#barVolumeBtn):not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not([data-participant-view]):not(.hidden):not([hidden]):hover,
#virtuCenterStage #bottomButtons button:not(.device-dropdown-toggle):not(#barVolumeBtn):not(#exitButton):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not([data-participant-view]):not(.hidden):not([hidden]):hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Active Highlight (Neon Emerald Glow) */
#bottomButtons button.active:not(.hidden):not([hidden]),
#bottomButtons button[aria-pressed="true"]:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons button.active:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons button[aria-pressed="true"]:not(.hidden):not([hidden]) {
    background: var(--virtu-emerald, #2feaa8) !important;
    color: #090d14 !important;
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 14px var(--virtu-emerald-glow) !important;
}

#bottomButtons button.active:not(.hidden):not([hidden]) i,
#bottomButtons button[aria-pressed="true"]:not(.hidden):not([hidden]) i,
#virtuCenterStage #bottomButtons button.active:not(.hidden):not([hidden]) i,
#virtuCenterStage #bottomButtons button[aria-pressed="true"]:not(.hidden):not([hidden]) i {
    color: #090d14 !important;
}

/* Muted / Slash Button indicator */
#bottomButtons #startAudioButton:not(.hidden) i,
#bottomButtons #startVideoButton:not(.hidden) i,
#virtuCenterStage #bottomButtons #startAudioButton:not(.hidden) i,
#virtuCenterStage #bottomButtons #startVideoButton:not(.hidden) i {
    color: var(--virtu-coral-red, #ff4757) !important;
}

/* End Call Button */
#bottomButtons #exitButton:not(.hidden):not([hidden]),
#virtuCenterStage #bottomButtons #exitButton:not(.hidden):not([hidden]) {
    background: var(--virtu-coral-red, #ff4757) !important;
    border: 1px solid var(--virtu-coral-red, #ff4757) !important;
    box-shadow: 0 0 16px var(--virtu-coral-glow) !important;
    color: #ffffff !important;
}

#bottomButtons #exitButton i,
#virtuCenterStage #bottomButtons #exitButton i {
    color: #ffffff !important;
    line-height: 1 !important;
}

#bottomButtons #exitButton:hover,
#virtuCenterStage #bottomButtons #exitButton:hover {
    background: #ff3344 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.65) !important;
}

/* Dynamic Participant Count Badge: Contained neatly in top-right of participantsButton */
#participantsCountBadge,
#bottomButtons #participantsCountBadge,
#participantsButton #participantsCountBadge,
#virtuCenterStage #bottomButtons #participantsCountBadge,
span#participantsCountBadge,
.virtu-dynamic-count {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    color: #090d14 !important;
    font-weight: 800 !important;
    font-size: 10px !important;
    font-family: var(--virtu-font-mono, monospace) !important;
    padding: 0 4px !important;
    border-radius: 9999px !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 14px !important;
    margin: 0 !important;
    border: 2px solid #0d121b !important;
    box-shadow: 0 0 8px var(--virtu-emerald-glow) !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
}

@media (max-width: 900px),
(max-width: 600px),
(max-width: 400px) {

    #participantsCountBadge,
    #bottomButtons #participantsCountBadge,
    #participantsButton #participantsCountBadge,
    span#participantsCountBadge {
        position: absolute !important;
        top: -2px !important;
        right: -2px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
    }
}

/* Chat Unread Badge */
#bottomButtons #chatButton,
#virtuCenterStage #bottomButtons #chatButton {
    position: relative !important;
}

#bottomButtons #chatUnreadBadge,
#virtuCenterStage #bottomButtons #chatUnreadBadge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    bottom: auto !important;
    left: auto !important;
    background: var(--virtu-coral-red, #ff4757) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 0 4px !important;
    border-radius: 9999px !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 12px !important;
    border: 2px solid #0d121b !important;
    box-shadow: 0 0 8px var(--virtu-coral-glow) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Speaker Volume Pill - Floating Bottom Left on Main Video */
#virtuMainVideoWrapper #barVolumeSection,
#barVolumeSection,
#bottomButtons #barVolumeSection,
#virtuCenterStage #barVolumeSection {
    position: absolute !important;
    bottom: 20px !important;
    left: 24px !important;
    z-index: 50 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 44px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    background: rgba(20, 27, 38, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: var(--virtu-radius-pill, 9999px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
}

#barVolumeSection #barVolumeBtn,
#barVolumeBtn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    font-size: 14px !important;
    background: transparent !important;
    border: none !important;
    color: #e2e8f0 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
}

#barVolumeSection #barVolumeSlider,
#barVolumeSlider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 65px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    outline: none !important;
    cursor: pointer !important;
    accent-color: var(--virtu-emerald, #2feaa8) !important;
}

#barVolumeSection #barVolumeSlider::-webkit-slider-thumb,
#barVolumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 6px rgba(47, 234, 168, 0.8) !important;
    cursor: pointer !important;
}

#barVolumeSection #barVolumeSlider::-moz-range-thumb,
#barVolumeSlider::-moz-range-thumb {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    border: none !important;
    cursor: pointer !important;
}

.bar-volume-divider {
    display: none !important;
}

/* Network Latency / Ping Badge inside Top Header */
.virtu-center-header #virtuPingPill,
.virtu-header-actions #virtuPingPill,
#virtuPingPill,
.virtu-ping-badge {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 10 !important;
    background: var(--virtu-bg-card, rgba(19, 25, 36, 0.85)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 14px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: var(--virtu-radius-pill, 9999px) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    font-family: var(--virtu-font-mono, monospace) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

#virtuPingPill i,
#virtuPingPill svg,
.virtu-ping-badge i,
.virtu-ping-badge svg {
    color: var(--virtu-emerald, #2feaa8) !important;
    stroke: var(--virtu-emerald, #2feaa8) !important;
    font-size: 13px !important;
    position: static !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   3. Floating Chat Container (Cyber-Brutalist Floating Rounded Panel)
   position: absolute; right: 20px; bottom: 80px; width: 350px; border-radius: 12px;
   Only appears when user explicitly clicks the chat icon in the bottom bar.
   ========================================================================== */

/* Completely eliminate the static sidebar & tab layout */
#virtuRightSidebar,
aside#virtuRightSidebar,
.virtu-right-tabs,
.virtu-right-content {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    position: absolute !important;
}

/* Chat Button active neon emerald highlight on bottom control bar */
#bottomButtons #chatButton.active,
#bottomButtons #chatButton[aria-pressed="true"],
#virtuAppContainer.has-chat-open #bottomButtons #chatButton {
    background: var(--virtu-emerald, #2feaa8) !important;
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 18px var(--virtu-emerald-glow, rgba(47, 234, 168, 0.6)) !important;
}

#bottomButtons #chatButton.active i,
#bottomButtons #chatButton[aria-pressed="true"] i,
#virtuAppContainer.has-chat-open #bottomButtons #chatButton i {
    color: #0b1510 !important;
}

/* ==========================================================================
   Right-Side Chat Panel (Strictly Matching Reference UI - Docked in Meeting Stage)
   ========================================================================== */
#chatRoom,
body>#chatRoom,
#virtuAppContainer #chatRoom,
#virtuLayoutWrapper #chatRoom,
#virtuCenterStage #chatRoom,
#virtuMiddleStage #chatRoom,
section#chatRoom {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    border-radius: var(--virtu-radius-xl, 20px) !important;
    background: rgba(13, 19, 29, 0.96) !important;
    /* Seamless with meeting background */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: width 0.25s ease, opacity 0.2s ease !important;
}

/* Explicit Closed State */
#chatRoom:not(.show),
#chatRoom.hidden,
#virtuMiddleStage #chatRoom:not(.show),
#virtuMiddleStage #chatRoom.hidden,
#virtuCenterStage #chatRoom:not(.show),
#virtuCenterStage #chatRoom.hidden,
#virtuAppContainer #chatRoom:not(.show),
#virtuAppContainer #chatRoom.hidden,
#virtuLayoutWrapper #chatRoom:not(.show),
#virtuLayoutWrapper #chatRoom.hidden,
body #chatRoom:not(.show),
body #chatRoom.hidden,
section#chatRoom:not(.show),
section#chatRoom.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transform: none !important;
}

/* Explicit Open State */
#chatRoom.show:not(.hidden),
#virtuMiddleStage #chatRoom.show:not(.hidden),
#virtuCenterStage #chatRoom.show:not(.hidden),
#virtuAppContainer #chatRoom.show:not(.hidden),
#virtuLayoutWrapper #chatRoom.show:not(.hidden),
body #chatRoom.show:not(.hidden),
section#chatRoom.show:not(.hidden) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    z-index: 20 !important;
}

/* Whiteboard Floating Modal */
#whiteboard,
body>#whiteboard,
section#whiteboard {
    z-index: 3000 !important;
    position: fixed !important;
    max-width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 80px) !important;
}

#whiteboard.show,
body>#whiteboard.show,
section#whiteboard.show {
    display: flex !important;
    flex-direction: column !important;
    z-index: 3000 !important;
}

#whiteboard:not(.show) {
    display: none !important;
}

/* Chat App Container Shell */
#chatRoom #chatApp {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

#chatRoom #chat {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    overflow: visible !important;
}

#chatRoom #plist,
#chatRoom .people-list,
.chat-app .people-list {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(13, 18, 27, 0.98) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 20 !important;
}

#chatRoom #plist.hidden,
#chatRoom #plist[style*="display: none"],
#chatRoom.view-chat #plist {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#chatRoom #chat.hidden,
#chatRoom #chat[style*="display: none"],
#chatRoom.view-plist #chat {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#chatRoom.view-chat #chat:not(.hidden):not([style*="display: none"]) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
}

#chatRoom.view-plist #plist:not(.hidden):not([style*="display: none"]) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 100% !important;
    position: relative !important;
    z-index: 25 !important;
}

/* Chat Header */
#chatRoom #chatHeader {
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(22, 29, 41, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    cursor: default !important;
}

#chatRoom .chat-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

#chatRoom #chatAbout {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#chatRoom #chatAbout img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(47, 234, 168, 0.5) !important;
    background: rgba(47, 234, 168, 0.12) !important;
    padding: 2px !important;
    object-fit: contain !important;
}

#chatRoom .chat-about h6,
#chatRoom #chatAbout h6,
#chatRoom .chat-header-title h6 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
}

/* Hide clutter drag/layout buttons in floating header */
#chatRoom .chat-layout-tools,
#chatRoom #chatTogglePin,
#chatRoom #chatMaxButton,
#chatRoom #chatMinButton {
    display: none !important;
}

/* Reset clumsy tool groups & remove Bootstrap blue focus outlines */
#chatRoom .chat-tool-group,
#chatRoom .chat-menu-tools {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
    box-shadow: none !important;
}

#chatRoom button:focus,
#chatRoom button:focus-visible,
#chatRoom .dropdown-toggle:focus,
#plist button:focus,
#plist button:focus-visible,
#plist .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Header Action Buttons (Menu & Close) in Dark Mode */
#chatRoom #chatDropDownMenu,
#chatRoom .chat-tool-group>button,
#chatRoom .chat-tool-group>.dropdown>button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

#chatRoom #chatDropDownMenu:hover,
#chatRoom .chat-tool-group>button:hover,
#chatRoom .chat-tool-group>.dropdown>button:hover {
    background: rgba(47, 234, 168, 0.18) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
    color: #2feaa8 !important;
    transform: translateY(-1px) !important;
}

#chatRoom #chatCloseButton {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 0 0 4px !important;
}

#chatRoom #chatCloseButton:hover {
    color: #ff4757 !important;
    border-color: rgba(255, 71, 87, 0.4) !important;
    background: rgba(255, 71, 87, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* Participants Panel Header in Dark Mode */
#plist .chat-list-actions {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 14px 12px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#plist #chatShareRoomBtn {
    background: rgba(47, 234, 168, 0.15) !important;
    border: 1px solid rgba(47, 234, 168, 0.35) !important;
    color: #2feaa8 !important;
    border-radius: 9px !important;
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#plist #chatShareRoomBtn:hover {
    background: rgba(47, 234, 168, 0.25) !important;
    border-color: #2feaa8 !important;
    box-shadow: 0 0 10px rgba(47, 234, 168, 0.25) !important;
}

#plist .chat-action-icon-btns>button,
#plist .chat-action-icon-btns>.dropdown>button.dropdown-toggle,
#plist #participantsUnreadMessagesBtn,
#plist #participantsRaiseHandBtn,
#plist #participantsHiddenBtn,
#plist #participantsSaveBtn {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#plist .chat-action-icon-btns>button:hover,
#plist .chat-action-icon-btns>.dropdown>button.dropdown-toggle:hover {
    background: rgba(47, 234, 168, 0.18) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
    color: #2feaa8 !important;
    transform: translateY(-1px) !important;
}

#plist .chat-action-icon-btns #participantsHiddenBtn.is-filtering {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

#plist .chat-action-icon-btns #chatHideParticipantsList {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#plist .chat-action-icon-btns #chatHideParticipantsList:hover {
    background: rgba(255, 71, 87, 0.2) !important;
    border-color: rgba(255, 71, 87, 0.4) !important;
    color: #ff4757 !important;
    transform: translateY(-1px) !important;
}

/* Hidden Participants Dropdown Menu in Dark Mode */
#participantsHiddenDropdown .dropdown-menu,
.chat-action-icon-btns .participant-list-dropdown-menu {
    min-width: 195px !important;
    width: max-content !important;
    max-width: 260px !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: rgba(18, 24, 38, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5) !important;
    z-index: 1090 !important;
}

#participantsHiddenDropdown .dropdown-menu li,
.chat-action-icon-btns .participant-list-dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    width: 100% !important;
}

#participantsHiddenDropdown .dropdown-menu li button,
#participantsHiddenDropdown .dropdown-menu button,
.chat-action-icon-btns .participant-list-dropdown-menu button,
#participantsHiddenViewBtn,
#participantsHiddenShowAllBtn {
    width: 100% !important;
    min-width: 175px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transform: none !important;
}

#participantsHiddenDropdown .dropdown-menu button:hover,
.chat-action-icon-btns .participant-list-dropdown-menu button:hover {
    background: rgba(47, 234, 168, 0.15) !important;
    color: #2feaa8 !important;
}

#participantsHiddenDropdown .dropdown-menu button .participant-action-icon,
.chat-action-icon-btns .participant-list-dropdown-menu .participant-action-icon {
    width: 20px !important;
    min-width: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    color: inherit !important;
}

#participantsHiddenDropdown .dropdown-menu button .participant-action-label,
.chat-action-icon-btns .participant-list-dropdown-menu .participant-action-label {
    display: inline-block !important;
    flex: 1 1 auto !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    color: inherit !important;
}

/* Chat History (Messages Area) */
#chatRoom #chatHistory {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 14px 16px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

#chatRoom #chatHistory::-webkit-scrollbar {
    width: 5px;
}

#chatRoom #chatHistory::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Empty chat notice */
#chatRoom .empty-chat-notice {
    padding: 28px 12px !important;
    text-align: center !important;
    color: var(--virtu-text-muted, #94a3b8) !important;
}

#chatRoom .empty-chat-img {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 12px !important;
    opacity: 0.75 !important;
}

#chatRoom .empty-chat-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 6px !important;
}

#chatRoom .empty-chat-desc {
    font-size: 12px !important;
    color: var(--virtu-text-dim, #64748b) !important;
    margin: 0 !important;
}

/* Chat Messages Styling - Distinct Incoming and Outgoing Bubbles */
#chatHistory ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#chatRoom.view-chat #chatPublicMessages:not([style*="display: none"]) {
    display: block;
}

#chatHistory li {
    margin-bottom: 14px !important;
    list-style: none !important;
    clear: both !important;
    position: relative !important;
    display: block !important;
}

#chatHistory .message-data {
    margin-bottom: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
}

#chatHistory .message-data.text-end {
    justify-content: flex-end !important;
}

#chatHistory .message-data.text-start {
    justify-content: flex-start !important;
}

#chatHistory .message-data img {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    object-fit: cover !important;
}

#chatHistory .message-data-time {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* Base message bubble */
#chatHistory .message {
    position: relative !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    border-radius: 12px !important;
    max-width: 82% !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    box-sizing: border-box !important;
}

/* Outgoing Message (Sent by me) - Strictly Matching Reference Image */
#chatHistory .message.my-message {
    float: right !important;
    clear: both !important;
    background: #1f2d42 !important;
    border: 1px solid rgba(47, 234, 168, 0.28) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    text-align: left !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 10px rgba(47, 234, 168, 0.12) !important;
    margin-bottom: 6px !important;
}

#chatHistory .message.my-message:after,
#chatHistory .message.my-message:before {
    display: none !important;
}

/* Incoming Message (Received from others) - Strictly Matching Reference Image */
#chatHistory .message.other-message {
    float: left !important;
    clear: both !important;
    background: #182232 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    text-align: left !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    margin-bottom: 6px !important;
}

#chatHistory .message.other-message:after,
#chatHistory .message.other-message:before {
    display: none !important;
}

/* Clean message action buttons - reveal smoothly on hover without cluttering bubbles */
#chatHistory .message hr {
    display: none !important;
}

#chatHistory .message .about-buttons {
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    transition: opacity 0.2s ease, max-height 0.2s ease !important;
    display: flex !important;
    gap: 4px !important;
    justify-content: flex-end !important;
}

#chatHistory .message:hover .about-buttons {
    opacity: 1 !important;
    max-height: 28px !important;
    margin-top: 6px !important;
    overflow: visible !important;
}

#chatHistory .message .about-buttons button {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    color: #94a3b8 !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

#chatHistory .message .about-buttons button:hover {
    background: var(--virtu-emerald, #2feaa8) !important;
    color: #051a12 !important;
    border-color: var(--virtu-emerald, #2feaa8) !important;
}

/* ==========================================================================
   Chat Input Bar - Strictly Matching Reference Image All-In-One Pill
   ========================================================================== */
#chatRoom .chat-message {
    position: relative !important;
    padding: 12px 14px 16px !important;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

#chatRoom .chat-input-wrapper {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
}

/* The single unified dark pill container */
#chatRoom .chat-input-container {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: #141c28 !important;
    /* Dark pill surface matching reference */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px !important;
    /* Strict pill shape */
    padding: 4px 5px 4px 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

#chatRoom .chat-input-container:focus-within {
    border-color: rgba(47, 234, 168, 0.5) !important;
    box-shadow: 0 0 14px rgba(47, 234, 168, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    background: #172230 !important;
}

/* 1. Emoji / Smiley button on the left inside pill */
#chatRoom #chatEmojiButton,
#chatRoom #chatEmojiButton.hidden {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: color 0.18s ease, transform 0.18s ease !important;
}

#chatRoom #chatEmojiButton:hover {
    color: #2feaa8 !important;
    transform: scale(1.1) !important;
}

/* 2. Text input in the middle */
#chatRoom #chatMessage {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    padding: 6px 8px !important;
    font-size: 13.5px !important;
    line-height: 20px !important;
    box-sizing: border-box !important;
    resize: none !important;
    outline: none !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    vertical-align: middle !important;
}

#chatRoom #chatMessage::placeholder {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 20px !important;
}

/* 3. Send button: neon emerald circular button on the right inside pill */
#chatRoom #chatSendButton,
#chatRoom #chatSendButton.hidden,
#chatRoom .chat-send-btn,
#chatRoom .chat-send-btn.hidden {
    position: static !important;
    flex-shrink: 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: #2feaa8 !important;
    color: #061a12 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.18s ease !important;
    box-shadow: 0 0 12px rgba(47, 234, 168, 0.45) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#chatRoom #chatSendButton:hover {
    background: #3bf0b2 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 18px rgba(47, 234, 168, 0.7) !important;
}

#chatRoom #chatSendButton i {
    font-size: 14px !important;
    color: #061a12 !important;
    margin-left: -1px !important;
}

/* Clean UI: Hide extra hints and toolbars so input area is strictly the sleek pill */
#chatRoom .chat-toolbar-hint,
#chatRoom .chat-toolbar {
    display: none !important;
}

/* Floating Emoji Picker - Clean anchored modal above input bar */
#chatRoom #chatEmoji,
#chatRoom .chatEmojiPicker,
#chatEmoji.chatEmojiPicker {
    position: absolute !important;
    bottom: 84px !important;
    left: 14px !important;
    right: 14px !important;
    margin: 0 auto !important;
    width: 312px !important;
    max-width: calc(100% - 28px) !important;
    height: 380px !important;
    max-height: calc(100% - 140px) !important;
    z-index: 1000 !important;
    background: #141c28 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#chatRoom #chatEmoji.hidden,
#chatRoom #chatEmoji:not(.show),
#chatRoom .chatEmojiPicker.hidden,
#chatRoom .chatEmojiPicker:not(.show),
#chatEmoji.hidden,
#chatEmoji:not(.show) {
    display: none !important;
}

#chatRoom #chatEmoji.show,
#chatRoom .chatEmojiPicker.show,
#chatEmoji.show {
    display: flex !important;
    flex-direction: column !important;
}

#chatRoom #chatEmoji em-emoji-picker,
#chatRoom .chatEmojiPicker em-emoji-picker,
em-emoji-picker {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border: none !important;
    --border-radius: 16px;
    --category-icon-size: 17px;
    --font-family: inherit;
    --font-size: 13.5px;
    --rgb-accent: 47, 234, 168;
    /* Neon emerald */
    --rgb-background: 20, 28, 40;
    /* #141c28 */
    --rgb-color: 255, 255, 255;
    --rgb-input: 26, 37, 52;
    --shadow: none;
    display: flex !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Medium Screens (Tablets / Laptops 800px - 1199px) */
@media (max-width: 1199px) {
    #virtuLeftSidebar {
        width: 72px;
        min-width: 72px;
        padding: 20px 10px;
    }

    .virtu-brand-title,
    .virtu-nav-item span,
    .virtu-nav-heading,
    .virtu-badge,
    .virtu-nav-dots,
    .virtu-profile-info {
        display: none !important;
    }

    .virtu-nav-item {
        justify-content: center;
        padding: 12px 0;
    }

    .virtu-nav-item-left {
        gap: 0;
    }

    .virtu-sidebar-profile {
        padding: 6px;
        justify-content: center;
    }

    #virtuRightSidebar {
        width: 300px;
        min-width: 300px;
    }
}

/* Mobile Screens (< 800px) */
@media (max-width: 799px) {
    #virtuAppContainer {
        flex-direction: column;
    }

    #virtuLeftSidebar {
        display: none !important;
    }

    #virtuRightSidebar {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        max-width: 340px;
        z-index: 1000;
        transition: right 0.3s ease;
    }

    #virtuRightSidebar.open {
        right: 0;
    }

    #virtuCenterStage {
        padding: 10px 8px;
    }

    .virtu-top-video-row {
        height: 94px !important;
        min-height: 94px !important;
        max-height: 94px !important;
        gap: 8px !important;
    }

    .virtu-top-video-row.is-empty,
    #virtuTopVideoRow.is-empty,
    .virtu-top-video-row:empty,
    #virtuTopVideoRow:empty,
    .virtu-top-video-row:not(:has(.Camera)),
    #virtuTopVideoRow:not(:has(.Camera)),
    #virtuCenterStage.single-speaker-mode .virtu-top-video-row,
    #virtuCenterStage.single-speaker-mode #virtuTopVideoRow {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #virtuCenterStage #videoMediaContainer .Camera {
        width: 140px !important;
        min-width: 140px !important;
        height: 80px !important;
        min-height: 80px !important;
    }

    #virtuCenterStage #bottomButtons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 6px 14px !important;
        bottom: 12px !important;
        max-width: calc(100vw - 20px) !important;
    }

    #virtuCenterStage #bottomButtons>button:not(.hidden):not([hidden]),
    #virtuCenterStage #bottomButtons .split-btn:not(.hidden):not([hidden])>button:not(.device-dropdown-toggle):not(.hidden):not([hidden]),
    #virtuCenterStage #bottomButtons #exitButton:not(.hidden):not([hidden]),
    #virtuCenterStage #bottomButtons button:not(#participantsButton):not(.device-dropdown-toggle):not(#barVolumeBtn):not(.dropdown-item):not([data-participant-view]):not(.hidden):not([hidden]) {
        flex-shrink: 0 !important;
        position: static !important;
        min-width: 45px !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
    }
}

/* Peer Video Cameras in Video Grid */
.Camera {
    border-radius: var(--virtu-radius-lg) !important;
    background: var(--virtu-bg-card) !important;
    border: var(--virtu-border-cyber) !important;
    box-shadow: var(--virtu-shadow-card) !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.Camera.active-speaker,
.Camera:hover {
    border-color: var(--virtu-emerald) !important;
    box-shadow: 0 0 14px var(--virtu-emerald-glow) !important;
}

.Camera .username {
    background: rgba(9, 13, 20, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
}

/* ==========================================================================
   4. Waiting Room / Lobby Modal (Admit / Deny Participant Requests)
   Modern Glassmorphic Banner with Theme-Adaptive Aesthetics
   Preserves MiroTalk SFU logic: Only triggered by MiroTalk rc.lobbyToggle()
   ========================================================================== */

#lobby {
    display: none;
    /* Controlled strictly by MiroTalk's rc.lobbyToggle() */
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 99999 !important;
    width: 440px !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    max-height: 85vh !important;
    background: rgba(13, 18, 27, 0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 28px rgba(47, 234, 168, 0.12) !important;
    padding: 16px 16px 14px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 !important;
    color: var(--virtu-text-main, #f8fafc) !important;
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    animation: virtuModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#lobby[style*="display: none"] {
    display: none !important;
}

@keyframes virtuModalPop {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes virtuLobbyPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px var(--virtu-emerald, #2feaa8), 0 0 16px rgba(47, 234, 168, 0.45);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.85);
        box-shadow: 0 0 4px var(--virtu-emerald, #2feaa8), 0 0 8px rgba(47, 234, 168, 0.25);
    }
}

/* Header inside Lobby Modal */
#lobbyHeader,
.lobby-header {
    background: rgba(23, 31, 44, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 12px 14px 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #ffffff !important;
    cursor: move !important;
    user-select: none !important;
    margin-bottom: 12px !important;
}

.lobby-header-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
}

#lobbyHeaderTitle,
.lobby-header-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

#lobbyHeaderTitle::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--virtu-emerald, #2feaa8);
    box-shadow: 0 0 8px var(--virtu-emerald, #2feaa8), 0 0 16px rgba(47, 234, 168, 0.45);
    animation: virtuLobbyPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

.lobby-header-subtitle {
    color: var(--virtu-text-muted, #8492a6) !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.lobby-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    font-size: 11.5px !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin-left: 10px !important;
}

.lobby-close-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05) !important;
}

/* User List Container */
#lobbyUsers {
    max-height: min(60vh, 380px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-top: 4px !important;
    padding-right: 2px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(47, 234, 168, 0.4) transparent !important;
}

#lobbyUsers::-webkit-scrollbar {
    width: 5px !important;
}

#lobbyUsers::-webkit-scrollbar-track {
    background: transparent !important;
}

#lobbyUsers::-webkit-scrollbar-thumb {
    background: rgba(47, 234, 168, 0.35) !important;
    border-radius: 4px !important;
}

#lobbyUsers::-webkit-scrollbar-thumb:hover {
    background: var(--virtu-emerald, #2feaa8) !important;
}

/* Table layout */
#lobbyUsers table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    width: 100% !important;
    table-layout: fixed !important;
}

#lobbyUsers td,
#lobbyUsers th {
    color: #ffffff !important;
    text-align: left !important;
    padding: 0 !important;
}

#lobbyUsers th:nth-child(1),
.lobby-cell--avatar {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 0 0 0 10px !important;
    vertical-align: middle !important;
    text-align: center !important;
}

#lobbyUsers th:nth-child(2),
.lobby-cell--user {
    width: auto !important;
    padding: 8px 6px 8px 8px !important;
    vertical-align: middle !important;
    overflow: hidden !important;
}

#lobbyUsers th:nth-child(3),
.lobby-cell--action:nth-last-child(2) {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 86px !important;
    padding: 6px 3px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

#lobbyUsers th:nth-child(4),
.lobby-cell--action:last-child {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 82px !important;
    padding: 6px 10px 6px 3px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Lobby User Cards (Rows) */
.lobby-row {
    transition: all 0.2s ease !important;
}

.lobby-row td {
    background: rgba(19, 25, 36, 0.88) !important;
    border-top: 1px solid #1f2a3a !important;
    border-bottom: 1px solid #1f2a3a !important;
    vertical-align: middle !important;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.lobby-row td:first-child {
    border-left: 1px solid #1f2a3a !important;
    border-radius: 12px 0 0 12px !important;
}

.lobby-row td:last-child {
    border-right: 1px solid #1f2a3a !important;
    border-radius: 0 12px 12px 0 !important;
}

.lobby-row:hover td {
    background: rgba(25, 34, 49, 0.98) !important;
    border-color: rgba(47, 234, 168, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Bulk Row ("All requests") */
.lobby-row--bulk td {
    background: rgba(47, 234, 168, 0.08) !important;
    border-top: 1px solid rgba(47, 234, 168, 0.22) !important;
    border-bottom: 1px solid rgba(47, 234, 168, 0.22) !important;
}

.lobby-row--bulk td:first-child {
    border-left: 1px solid rgba(47, 234, 168, 0.22) !important;
}

.lobby-row--bulk td:last-child {
    border-right: 1px solid rgba(47, 234, 168, 0.22) !important;
}

.lobby-row--bulk:hover td {
    background: rgba(47, 234, 168, 0.13) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
}

/* Avatar styling */
.lobby-avatar,
.lobby-avatar-img {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.lobby-avatar {
    background: rgba(47, 234, 168, 0.12) !important;
    border: 1px solid rgba(47, 234, 168, 0.25) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.lobby-avatar--group {
    border-radius: 10px !important;
    background: rgba(47, 234, 168, 0.14) !important;
    border: 1px solid rgba(47, 234, 168, 0.28) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    font-size: 14px !important;
}

.lobby-avatar-img {
    border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

/* User Meta Information */
.lobby-user-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.lobby-user-name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    display: block !important;
    max-width: 195px !important;
}

.lobby-user-status {
    color: var(--virtu-text-muted, #8492a6) !important;
    font-size: 11px !important;
    font-family: inherit !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
    display: block !important;
    max-width: 195px !important;
}

.lobby-row--bulk .lobby-user-status {
    color: rgba(47, 234, 168, 0.85) !important;
    font-weight: 500 !important;
}

/* Action Buttons (Admit / Deny) */
.lobby-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 76px !important;
    height: 30px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    border: none !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.lobby-action-btn:focus,
.lobby-action-btn:focus-visible {
    outline: none !important;
}

.lobby-action-btn i {
    pointer-events: none !important;
    font-size: 10.5px !important;
}

/* Admit / Accept Button: Signature Neon Emerald */
.lobby-action-btn--accept {
    background: var(--virtu-emerald, #2feaa8) !important;
    color: #090d14 !important;
    border: 1px solid var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 2px 8px rgba(47, 234, 168, 0.28) !important;
}

.lobby-action-btn--accept::after {
    content: ' Admit' !important;
}

.lobby-action-btn--accept i {
    color: #090d14 !important;
}

.lobby-action-btn--accept:hover {
    background: #3bf0b2 !important;
    border-color: #3bf0b2 !important;
    box-shadow: 0 4px 14px rgba(47, 234, 168, 0.5) !important;
    transform: translateY(-1px) !important;
}

.lobby-action-btn--accept:active {
    transform: translateY(0) scale(0.97) !important;
}

/* Deny / Reject Button: Signature Cyber Red */
.lobby-action-btn--reject {
    background: rgba(255, 71, 87, 0.14) !important;
    color: var(--virtu-coral-red, #ff4757) !important;
    border: 1px solid rgba(255, 71, 87, 0.4) !important;
    box-shadow: none !important;
}

.lobby-action-btn--reject::after {
    content: ' Deny' !important;
}

.lobby-action-btn--reject i {
    color: var(--virtu-coral-red, #ff4757) !important;
}

.lobby-action-btn--reject:hover {
    background: var(--virtu-coral-red, #ff4757) !important;
    color: #ffffff !important;
    border-color: var(--virtu-coral-red, #ff4757) !important;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.45) !important;
    transform: translateY(-1px) !important;
}

.lobby-action-btn--reject:hover i {
    color: #ffffff !important;
}

.lobby-action-btn--reject:active {
    transform: translateY(0) scale(0.97) !important;
}

/* ==========================================================================
   Lobby Notification Modal: Light Mode Compatibility
   ========================================================================== */
body.virtu-light-mode #lobby,
html[data-theme="light"] #lobby,
html.virtu-light-mode #lobby {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

body.virtu-light-mode #lobbyHeader,
html[data-theme="light"] #lobbyHeader,
html.virtu-light-mode #lobbyHeader {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #lobbyHeaderTitle,
html[data-theme="light"] #lobbyHeaderTitle,
html.virtu-light-mode #lobbyHeaderTitle {
    color: #0f172a !important;
}

body.virtu-light-mode .lobby-header-subtitle,
html[data-theme="light"] .lobby-header-subtitle,
html.virtu-light-mode .lobby-header-subtitle {
    color: #64748b !important;
}

body.virtu-light-mode .lobby-close-btn,
html[data-theme="light"] .lobby-close-btn,
html.virtu-light-mode .lobby-close-btn {
    background: #e2e8f0 !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
}

body.virtu-light-mode .lobby-close-btn:hover,
html[data-theme="light"] .lobby-close-btn:hover,
html.virtu-light-mode .lobby-close-btn:hover {
    background: #cbd5e1 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

body.virtu-light-mode #lobbyUsers table,
html[data-theme="light"] #lobbyUsers table,
html.virtu-light-mode #lobbyUsers table {
    color: #0f172a !important;
}

body.virtu-light-mode #lobbyUsers td,
body.virtu-light-mode #lobbyUsers th,
html[data-theme="light"] #lobbyUsers td,
html[data-theme="light"] #lobbyUsers th,
html.virtu-light-mode #lobbyUsers td,
html.virtu-light-mode #lobbyUsers th {
    color: #0f172a !important;
}

body.virtu-light-mode .lobby-row td,
html[data-theme="light"] .lobby-row td,
html.virtu-light-mode .lobby-row td {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.virtu-light-mode .lobby-row td:first-child,
html[data-theme="light"] .lobby-row td:first-child,
html.virtu-light-mode .lobby-row td:first-child {
    border-left: 1px solid #e2e8f0 !important;
}

body.virtu-light-mode .lobby-row td:last-child,
html[data-theme="light"] .lobby-row td:last-child,
html.virtu-light-mode .lobby-row td:last-child {
    border-right: 1px solid #e2e8f0 !important;
}

body.virtu-light-mode .lobby-row:hover td,
html[data-theme="light"] .lobby-row:hover td,
html.virtu-light-mode .lobby-row:hover td {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode .lobby-row--bulk td,
html[data-theme="light"] .lobby-row--bulk td,
html.virtu-light-mode .lobby-row--bulk td {
    background: #ecfdf5 !important;
    border-top: 1px solid #a7f3d0 !important;
    border-bottom: 1px solid #a7f3d0 !important;
}

body.virtu-light-mode .lobby-row--bulk td:first-child,
html[data-theme="light"] .lobby-row--bulk td:first-child,
html.virtu-light-mode .lobby-row--bulk td:first-child {
    border-left: 1px solid #a7f3d0 !important;
}

body.virtu-light-mode .lobby-row--bulk td:last-child,
html[data-theme="light"] .lobby-row--bulk td:last-child,
html.virtu-light-mode .lobby-row--bulk td:last-child {
    border-right: 1px solid #a7f3d0 !important;
}

body.virtu-light-mode .lobby-row--bulk:hover td,
html[data-theme="light"] .lobby-row--bulk:hover td,
html.virtu-light-mode .lobby-row--bulk:hover td {
    background: #d1fae5 !important;
    border-color: #6ee7b7 !important;
}

body.virtu-light-mode .lobby-avatar--group,
html[data-theme="light"] .lobby-avatar--group,
html.virtu-light-mode .lobby-avatar--group {
    background: #d1fae5 !important;
    border-color: #6ee7b7 !important;
    color: #059669 !important;
}

body.virtu-light-mode .lobby-avatar,
html[data-theme="light"] .lobby-avatar,
html.virtu-light-mode .lobby-avatar {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #059669 !important;
}

body.virtu-light-mode .lobby-avatar-img,
html[data-theme="light"] .lobby-avatar-img,
html.virtu-light-mode .lobby-avatar-img {
    border-color: #cbd5e1 !important;
}

body.virtu-light-mode .lobby-user-name,
html[data-theme="light"] .lobby-user-name,
html.virtu-light-mode .lobby-user-name {
    color: #0f172a !important;
}

body.virtu-light-mode .lobby-user-status,
html[data-theme="light"] .lobby-user-status,
html.virtu-light-mode .lobby-user-status {
    color: #64748b !important;
}

body.virtu-light-mode .lobby-row--bulk .lobby-user-status,
html[data-theme="light"] .lobby-row--bulk .lobby-user-status,
html.virtu-light-mode .lobby-row--bulk .lobby-user-status {
    color: #059669 !important;
}

body.virtu-light-mode .lobby-action-btn--accept,
html[data-theme="light"] .lobby-action-btn--accept,
html.virtu-light-mode .lobby-action-btn--accept {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
}

body.virtu-light-mode .lobby-action-btn--accept i,
html[data-theme="light"] .lobby-action-btn--accept i,
html.virtu-light-mode .lobby-action-btn--accept i {
    color: #ffffff !important;
}

body.virtu-light-mode .lobby-action-btn--accept:hover,
html[data-theme="light"] .lobby-action-btn--accept:hover,
html.virtu-light-mode .lobby-action-btn--accept:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

body.virtu-light-mode .lobby-action-btn--reject,
html[data-theme="light"] .lobby-action-btn--reject,
html.virtu-light-mode .lobby-action-btn--reject {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

body.virtu-light-mode .lobby-action-btn--reject i,
html[data-theme="light"] .lobby-action-btn--reject i,
html.virtu-light-mode .lobby-action-btn--reject i {
    color: #dc2626 !important;
}

body.virtu-light-mode .lobby-action-btn--reject:hover,
html[data-theme="light"] .lobby-action-btn--reject:hover,
html.virtu-light-mode .lobby-action-btn--reject:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

body.virtu-light-mode .lobby-action-btn--reject:hover i,
html[data-theme="light"] .lobby-action-btn--reject:hover i,
html.virtu-light-mode .lobby-action-btn--reject:hover i {
    color: #ffffff !important;
}

/* Mobile responsive popup adjustments */
@media (max-width: 640px) {
    #lobby {
        width: calc(100vw - 24px) !important;
        right: 12px !important;
        top: 12px !important;
        padding: 12px !important;
    }
    #lobbyUsers th:nth-child(2),
    .lobby-cell--user {
        min-width: 110px !important;
    }
    .lobby-action-btn {
        min-width: 60px !important;
        font-size: 11px !important;
        padding: 0 6px !important;
    }
}

/* ==========================================================================
   Bottom Floor Row: Participants Meta Card + Share Link Card
   ========================================================================== */
.virtu-bottom-floor,
#virtuBottomFloor {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
}

.virtu-bottom-card {
    height: 100% !important;
    background-color: var(--virtu-bg-card, #131924) !important;
    border: var(--virtu-border-cyber, 1px solid #1f2a3a) !important;
    border-radius: var(--virtu-radius-lg, 16px) !important;
    box-shadow: var(--virtu-shadow-card, 0 8px 24px rgba(0, 0, 0, 0.45)) !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.virtu-participants-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    gap: 12px !important;
}

.virtu-layout-modes {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
}

.virtu-layout-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: color 0.15s, background 0.15s !important;
    padding: 0 !important;
}

.virtu-layout-btn:hover {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.virtu-layout-btn.active,
.virtu-layout-btn[aria-pressed="true"] {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.virtu-participants-meta-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.virtu-participants-label-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: none !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    transition: color 0.15s, background 0.15s !important;
}

.virtu-participants-label-btn:hover {
    color: var(--virtu-emerald, #2feaa8) !important;
    background: rgba(47, 234, 168, 0.08) !important;
}

.virtu-avatar-stack {
    display: inline-flex !important;
    align-items: center !important;
    padding-left: 4px !important;
}

.virtu-avatar-item {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    border-radius: 50% !important;
    border: 2px solid var(--virtu-bg-card, #131924) !important;
    margin-left: -8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #0b1510 !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.virtu-avatar-item:first-child {
    margin-left: 0 !important;
}

.virtu-avatar-extra {
    background: #1e293b !important;
    color: #94a3b8 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    border-color: var(--virtu-bg-card, #131924) !important;
}

.virtu-floor-divider {
    display: inline-block !important;
    width: 1px !important;
    height: 18px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    margin: 0 4px !important;
}

.virtu-floor-emoji-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
    margin-right: 2px !important;
    box-sizing: border-box !important;
}

.virtu-floor-emoji-btn:hover {
    background: rgba(47, 234, 168, 0.12) !important;
    border-color: rgba(47, 234, 168, 0.45) !important;
    color: #2feaa8 !important;
    transform: translateY(-1px) scale(1.06) !important;
    box-shadow: 0 4px 14px rgba(47, 234, 168, 0.25) !important;
}

.virtu-floor-emoji-btn.active,
.virtu-floor-emoji-btn[aria-pressed="true"] {
    background: rgba(47, 234, 168, 0.18) !important;
    border-color: rgba(47, 234, 168, 0.55) !important;
    color: #2feaa8 !important;
    box-shadow: 0 0 14px rgba(47, 234, 168, 0.35) !important;
}

.virtu-floor-emoji-btn svg {
    color: inherit !important;
    transition: transform 0.2s ease !important;
}

.virtu-floor-emoji-btn:hover svg {
    transform: rotate(10deg);
}

/* Periodic Attention Zoom & Wiggle Animation (triggers every 1 min) */
@keyframes virtuEmojiPeriodicZoom {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(255, 214, 0, 0);
    }
    18% {
        transform: scale(1.28) rotate(-10deg);
        color: #ffd600 !important;
        border-color: rgba(255, 214, 0, 0.6) !important;
        background: rgba(255, 214, 0, 0.18) !important;
        box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.35), 0 4px 16px rgba(255, 214, 0, 0.4) !important;
    }
    36% {
        transform: scale(1.18) rotate(10deg);
        color: #ffd600 !important;
        border-color: rgba(255, 214, 0, 0.5) !important;
        background: rgba(255, 214, 0, 0.14) !important;
        box-shadow: 0 0 0 8px rgba(255, 214, 0, 0.15), 0 4px 14px rgba(255, 214, 0, 0.3) !important;
    }
    54% {
        transform: scale(1.24) rotate(-5deg);
        color: #ffd600 !important;
        border-color: rgba(255, 214, 0, 0.6) !important;
        background: rgba(255, 214, 0, 0.16) !important;
        box-shadow: 0 0 0 10px rgba(255, 214, 0, 0), 0 4px 16px rgba(255, 214, 0, 0.35) !important;
    }
    72% {
        transform: scale(1.08) rotate(0deg);
        color: #ffd600 !important;
        border-color: rgba(255, 214, 0, 0.3) !important;
        box-shadow: 0 0 8px rgba(255, 214, 0, 0.2) !important;
    }
    88% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(255, 214, 0, 0);
    }
}

.virtu-floor-emoji-btn.virtu-emoji-animated {
    animation: virtuEmojiPeriodicZoom 1.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.virtu-floor-emoji-btn.virtu-emoji-animated svg {
    color: #ffd600 !important;
}

.virtu-add-participant-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    color: #0b1510 !important;
    border: none !important;
    border-radius: var(--virtu-radius-pill, 9999px) !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 10px rgba(47, 234, 168, 0.3) !important;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s !important;
    white-space: nowrap !important;
}

.virtu-add-participant-btn:hover {
    filter: brightness(1.08) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(47, 234, 168, 0.45) !important;
}

.virtu-add-icon-box {
    width: 16px !important;
    height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
}

/* Right Card: Share Link Card */
.virtu-share-link-card {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    flex-shrink: 0 !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    cursor: pointer !important;
    transition: border-color 0.2s, background-color 0.2s !important;
}

.virtu-share-link-card:hover {
    border-color: rgba(47, 234, 168, 0.35) !important;
    background-color: #172130 !important;
}

.virtu-share-link-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.virtu-share-link-icon {
    color: #94a3b8 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

.virtu-share-link-text {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 240px !important;
    user-select: all !important;
}

.virtu-copy-link-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.virtu-copy-link-btn:hover,
.virtu-copy-link-btn.copied {
    color: var(--virtu-emerald, #2feaa8) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
    background: rgba(47, 234, 168, 0.1) !important;
}

/* Responsiveness for Bottom Bar and Floor */
@media (max-width: 1024px) {

    .virtu-bottom-floor,
    #virtuBottomFloor {
        gap: 12px !important;
    }

    .virtu-share-link-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

@media (max-width: 768px) {

    .virtu-bottom-floor,
    #virtuBottomFloor {
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        gap: 10px !important;
    }

    .virtu-participants-card,
    .virtu-share-link-card {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
    }
}

/* ==========================================================================
   Exact Call Overlay Dock Matching Reference UI
   [ Volume Slider Pill ]    ( CC ) ( Mic ) [ End Call ] ( Cam ) ( ... )    [ Ping 8ms ]
   ========================================================================== */

/* Strict Rule: Hidden elements inside bottomButtons must NEVER be displayed */
#bottomButtons .hidden,
#bottomButtons [hidden],
#bottomButtons button.hidden,
#bottomButtons .split-btn button.hidden,
#bottomButtons>.hidden,
#virtuCenterStage #bottomButtons .hidden,
#virtuMainVideoWrapper #bottomButtons .hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    pointer-events: none !important;
}

/* Strictly suppress duplicate pinned video username bubble inside main video */
#videoPinMediaContainer .username,
#videoPinMediaContainer [id$="__name"],
#virtuMainVideoWrapper .username,
#virtuCenterStage #videoPinMediaContainer .username,
.pinned-video-container .username,
#videoPinMediaContainer video+.username,
#virtuMainVideoWrapper video+.username,
#virtuMainVideoWrapper>.username,
#virtuMainVideoWrapper p[id$="__name"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -999 !important;
}

/* 1. Left Dock Group: User Login Name Pill & Volume Slider Pill (Side-by-side & Lined up with Bottom Buttons) */
#virtuDockLeftGroup,
.virtu-dock-left-group {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 60 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Right Dock Group: Network Ping & 3-Dots More Options (Corner position in line with Bottom Buttons & Left Group) */
#virtuDockRightGroup,
.virtu-dock-right-group {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 60 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#virtuDockRightGroup > *:not(#settingsSplit):not(#virtuPingPill):not(.virtu-ping-badge) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#virtuDockRightGroup #settingsSplit,
.virtu-dock-right-group #settingsSplit {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

#virtuDockRightGroup #settingsButton,
.virtu-dock-right-group #settingsButton {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: rgba(20, 27, 38, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#virtuDockRightGroup #settingsButton:hover,
.virtu-dock-right-group #settingsButton:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

#virtuDockRightGroup #settingsButton svg,
.virtu-dock-right-group #settingsButton svg {
    width: 20px !important;
    height: 20px !important;
    color: #ffffff !important;
    fill: currentColor !important;
}

/* Light Mode for Corner 3-Dots Button */
body.virtu-light-mode #virtuDockRightGroup #settingsButton,
html[data-theme="light"] #virtuDockRightGroup #settingsButton {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsButton:hover,
html[data-theme="light"] #virtuDockRightGroup #settingsButton:hover {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsButton svg,
html[data-theme="light"] #virtuDockRightGroup #settingsButton svg {
    color: #1e293b !important;
    fill: #1e293b !important;
}

/* User Login Name Pill - Premium Frosted Glass in Header Right */
.virtu-header-actions #virtuUserPill,
#virtuUserPill,
.virtu-user-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: rgba(18, 25, 38, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 3px 14px 3px 4px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.virtu-header-actions #virtuUserPill:hover,
#virtuUserPill:hover {
    background: rgba(26, 35, 52, 0.95) !important;
    border-color: rgba(47, 234, 168, 0.45) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(47, 234, 168, 0.25) !important;
    transform: translateY(-1px) !important;
}

.virtu-header-actions #virtuUserPill .virtu-user-avatar-wrap,
.virtu-user-avatar-wrap {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    border: 2px solid #2feaa8 !important;
    box-shadow: 0 0 8px rgba(47, 234, 168, 0.35) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111827 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.virtu-user-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
}

.virtu-user-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
    line-height: 1.18 !important;
}

.virtu-user-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    max-width: 130px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.virtu-user-role-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1 !important;
    margin-top: 1px !important;
}

.virtu-user-role {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
}

.virtu-role-check {
    width: 11px !important;
    height: 11px !important;
    color: #2feaa8 !important;
    stroke: #2feaa8 !important;
    stroke-width: 3.5 !important;
    display: inline-block !important;
}

/* Speaker Volume Pill - Inside Left Group next to User Login Name */
#virtuDockLeftGroup #barVolumeSection,
#virtuMainVideoWrapper #barVolumeSection,
#barVolumeSection {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    background: rgba(18, 25, 38, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38) !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

#virtuDockLeftGroup #barVolumeSection:hover,
#barVolumeSection:hover {
    background: rgba(26, 35, 52, 0.95) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
    transform: translateY(-1px) !important;
}

#barVolumeSection #barVolumeBtn,
#barVolumeBtn {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

#barVolumeSection #barVolumeBtn:hover,
#barVolumeBtn:hover {
    color: #2feaa8 !important;
    transform: scale(1.1) !important;
}

#barVolumeBtn svg,
#barVolumeBtn .virtu-svg-icon {
    width: 17px !important;
    height: 17px !important;
    color: #ffffff !important;
}

.bar-volume-slider-wrap {
    display: inline-flex !important;
    align-items: center !important;
}

#barVolumeSection #barVolumeSlider,
#barVolumeSlider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 60px !important;
    height: 3.5px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    outline: none !important;
    cursor: pointer !important;
    accent-color: var(--virtu-emerald, #2feaa8) !important;
}

#barVolumeSection #barVolumeSlider::-webkit-slider-thumb,
#barVolumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 6px rgba(47, 234, 168, 0.9) !important;
    cursor: pointer !important;
}

#barVolumeSection #barVolumeSlider::-moz-range-thumb,
#barVolumeSlider::-moz-range-thumb {
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    background: var(--virtu-emerald, #2feaa8) !important;
    border: none !important;
    cursor: pointer !important;
}

/* 2. Center 5-Button Dock */
#virtuMainVideoWrapper #bottomButtons,
#bottomButtons,
#virtuCenterStage #bottomButtons {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 60 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

/* Order the dock items: Mic (1), Cam (2), Screen (3), Raise Hand (4), Whiteboard (5), Rec (6), Breakout (7), End Call (8) */
#virtuMainVideoWrapper #bottomButtons #transcriptionButton,
#virtuMainVideoWrapper #bottomButtons #emojiRoomButton,
#virtuMainVideoWrapper #bottomButtons #chatButton {
    display: none !important;
}

#virtuMainVideoWrapper #bottomButtons #startAudioSplit {
    order: 1 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #startVideoSplit {
    order: 2 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #startScreenSplit {
    order: 3 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #raiseHandSplit {
    order: 4 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #whiteboardButton {
    order: 5 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #startRecSplit {
    order: 6 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton {
    order: 7 !important;
    display: inline-flex !important;
}

#virtuMainVideoWrapper #bottomButtons #exitDropdown {
    order: 8 !important;
    display: inline-flex !important;
}

/* Hide all other items in #bottomButtons */
#virtuMainVideoWrapper #bottomButtons>*:not(#startAudioSplit):not(#startVideoSplit):not(#startScreenSplit):not(#raiseHandSplit):not(#exitDropdown):not(#whiteboardButton):not(#startRecSplit):not(#breakoutRoomButton) {
    display: none !important;
}

#virtuMainVideoWrapper #bottomButtons .device-dropdown-toggle,
#virtuMainVideoWrapper #bottomButtons .push-to-talk-status {
    display: none !important;
}

/* Uniform Circular Dark Frosted Glass Style for Dock Buttons (compact 38px) */
#virtuMainVideoWrapper #bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle),
#virtuMainVideoWrapper #bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle),
#virtuMainVideoWrapper #bottomButtons #startScreenSplit>button:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit>button:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #chatButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #whiteboardButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording),
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton:not(.hidden),
#virtuMainVideoWrapper #bottomButtons #settingsButton,
#bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle),
#bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle),
#bottomButtons #startScreenSplit>button:not(.hidden),
#bottomButtons #raiseHandSplit>button:not(.hidden),
#bottomButtons #chatButton:not(.hidden),
#bottomButtons #whiteboardButton:not(.hidden),
#bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording),
#bottomButtons #breakoutRoomButton:not(.hidden),
#bottomButtons #settingsButton {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: rgba(22, 28, 38, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

#virtuMainVideoWrapper #bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#virtuMainVideoWrapper #bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#virtuMainVideoWrapper #bottomButtons #startScreenSplit>button:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit>button:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #chatButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #whiteboardButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording):hover,
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton:not(.hidden):hover,
#virtuMainVideoWrapper #bottomButtons #settingsButton:hover,
#bottomButtons #startAudioSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#bottomButtons #startVideoSplit>button:not(.hidden):not(.device-dropdown-toggle):hover,
#bottomButtons #startScreenSplit>button:not(.hidden):hover,
#bottomButtons #raiseHandSplit>button:not(.hidden):hover,
#bottomButtons #chatButton:not(.hidden):hover,
#bottomButtons #whiteboardButton:not(.hidden):hover,
#bottomButtons #startRecSplit>button:not(.hidden):not(#stopRecButton):not(.is-recording):hover,
#bottomButtons #breakoutRoomButton:not(.hidden):hover,
#bottomButtons #settingsButton:hover {
    background: rgba(36, 45, 60, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Icons inside all dock buttons (Exact uniform 17px icon size across all buttons) */
#virtuMainVideoWrapper #bottomButtons button svg,
#bottomButtons button svg,
#virtuCenterStage #bottomButtons button svg,
#virtuMainVideoWrapper #bottomButtons #transcriptionButton svg,
#virtuMainVideoWrapper #bottomButtons #startAudioSplit>button svg,
#virtuMainVideoWrapper #bottomButtons #startVideoSplit>button svg,
#virtuMainVideoWrapper #bottomButtons #startScreenSplit>button svg,
#virtuMainVideoWrapper #bottomButtons #raiseHandSplit>button svg,
#virtuMainVideoWrapper #bottomButtons #whiteboardButton svg,
#virtuMainVideoWrapper #bottomButtons #startRecSplit>button svg,
#virtuMainVideoWrapper #bottomButtons #breakoutRoomButton svg,
#virtuMainVideoWrapper #bottomButtons #settingsButton svg,
#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton svg,
#virtuMainVideoWrapper #bottomButtons #exitButton svg,
#bottomButtons #transcriptionButton svg,
#bottomButtons #startAudioSplit>button svg,
#bottomButtons #startVideoSplit>button svg,
#bottomButtons #startScreenSplit>button svg,
#bottomButtons #raiseHandSplit>button svg,
#bottomButtons #whiteboardButton svg,
#bottomButtons #startRecSplit>button svg,
#bottomButtons #breakoutRoomButton svg,
#bottomButtons #settingsButton svg,
#bottomButtons #exitDropdown #exitButton svg,
#bottomButtons #exitButton svg,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton svg,
#virtuCenterStage #bottomButtons #exitButton svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    color: #ffffff !important;
    fill: currentColor !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Crisp White CC Text Badge */
#bottomButtons #transcriptionButton .virtu-dock-cc,
.virtu-dock-cc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    padding: 1px 4px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Red indicator when Mic or Cam is OFF */
#bottomButtons #startAudioButton svg,
#bottomButtons #startVideoButton svg {
    color: #ff4757 !important;
    stroke: #ff4757 !important;
}

/* Hero Center Red Round End Call Button */
#virtuMainVideoWrapper #bottomButtons #exitDropdown,
#bottomButtons #exitDropdown,
#virtuCenterStage #bottomButtons #exitDropdown {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton,
#virtuMainVideoWrapper #bottomButtons #exitButton,
#bottomButtons #exitDropdown #exitButton,
#bottomButtons #exitButton,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton,
#virtuCenterStage #bottomButtons #exitButton {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: #ff4757 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.45) !important;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton:hover,
#virtuMainVideoWrapper #bottomButtons #exitButton:hover,
#bottomButtons #exitDropdown #exitButton:hover,
#bottomButtons #exitButton:hover,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton:hover,
#virtuCenterStage #bottomButtons #exitButton:hover {
    background: #ff3344 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.65) !important;
}

#virtuMainVideoWrapper #bottomButtons #exitDropdown #exitButton svg,
#virtuMainVideoWrapper #bottomButtons #exitButton svg,
#bottomButtons #exitDropdown #exitButton svg,
#bottomButtons #exitButton svg,
#virtuCenterStage #bottomButtons #exitDropdown #exitButton svg,
#virtuCenterStage #bottomButtons #exitButton svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    color: #ffffff !important;
    fill: #ffffff !important;
    transform: rotate(135deg) !important;
    transform-origin: center !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Network Ping Pill - Positioned in Bottom Right Dock before Settings */
#virtuDockRightGroup #virtuPingPill,
#virtuDockRightGroup .virtu-ping-badge,
#virtuPingPill,
.virtu-ping-badge {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 10 !important;
    background: rgba(20, 27, 38, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 0 14px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 9999px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    cursor: default !important;
    transition: all 0.2s ease !important;
}

#virtuDockRightGroup #virtuPingPill:hover,
#virtuPingPill:hover,
.virtu-ping-badge:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: rgba(47, 234, 168, 0.4) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 10px rgba(47, 234, 168, 0.2) !important;
    transform: translateY(-1px) !important;
}

#virtuDockRightGroup #virtuPingPill svg,
#virtuPingPill svg,
.virtu-ping-badge svg {
    width: 15px !important;
    height: 15px !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    stroke: var(--virtu-emerald, #2feaa8) !important;
    flex-shrink: 0 !important;
}

/* Light Mode for Network Ping Pill */
body.virtu-light-mode #virtuDockRightGroup #virtuPingPill,
body.virtu-light-mode #virtuPingPill,
html[data-theme="light"] #virtuDockRightGroup #virtuPingPill,
html[data-theme="light"] #virtuPingPill {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

body.virtu-light-mode #virtuDockRightGroup #virtuPingPill:hover,
html[data-theme="light"] #virtuDockRightGroup #virtuPingPill:hover {
    background: #f8fafc !important;
    border-color: rgba(5, 150, 105, 0.4) !important;
}

/* Ensure Left Dock Group (User Pill + Volume) lines up with Bottom Buttons */
#virtuDockLeftGroup,
#virtuMainVideoWrapper #virtuDockLeftGroup {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 60 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 48px !important;
    pointer-events: auto !important;
}

#virtuMainVideoWrapper #bottomButtons,
#bottomButtons {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 60 !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Responsive Scaling: Keep all elements lined up without clipping or collision */
@media (max-width: 1100px) {
    #virtuDockLeftGroup {
        left: 14px !important;
        gap: 8px !important;
    }

    #virtuDockRightGroup {
        right: 14px !important;
    }

    .virtu-user-name {
        max-width: 85px !important;
    }

    #barVolumeSection #barVolumeSlider,
    #barVolumeSlider {
        width: 48px !important;
    }
}

@media (max-width: 900px) {
    .virtu-user-role-wrap {
        display: none !important;
    }

    .virtu-user-pill {
        padding: 3px 10px 3px 4px !important;
    }

    #virtuDockLeftGroup {
        left: 10px !important;
        gap: 6px !important;
    }

    #virtuDockRightGroup {
        right: 10px !important;
    }

    #barVolumeSection {
        padding: 0 10px 0 8px !important;
    }

    #barVolumeSection #barVolumeSlider,
    #barVolumeSlider {
        width: 40px !important;
    }
}

@media (max-width: 720px) {
    #virtuPingPill {
        padding: 0 10px !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        font-size: 11.5px !important;
    }

    .virtu-user-name {
        max-width: 60px !important;
        font-size: 12px !important;
    }

    .virtu-user-avatar-wrap {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        border-radius: 50% !important;
    }

    #barVolumeSection #barVolumeSlider,
    #barVolumeSlider {
        width: 35px !important;
    }
}





/* Ensure participants legacy buttons & chevrons are completely hidden everywhere in dock & corner */
#participantsSplit,
#bottomButtons #participantsSplit,
#virtuDockRightGroup #participantsSplit,
#virtuMainVideoWrapper #participantsSplit,
#virtuCenterStage #bottomButtons #participantsSplit,
#participantsButton,
#bottomButtons #participantsButton,
#virtuDockRightGroup #participantsButton,
#virtuMainVideoWrapper #participantsButton,
#participantsActionsDropdown,
#bottomButtons #participantsActionsDropdown,
#virtuDockRightGroup #participantsActionsDropdown,
#virtuMainVideoWrapper #participantsActionsDropdown,
#participantsActionsButton,
#bottomButtons #participantsActionsButton,
#virtuDockRightGroup #participantsActionsButton,
#virtuMainVideoWrapper #participantsActionsButton,
#participantViewDropdown,
#bottomButtons #participantViewDropdown,
#virtuDockRightGroup #participantViewDropdown,
#virtuMainVideoWrapper #participantViewDropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   VirtuFit Premium 3-Dots More Options Menu (#settingsExtraMenu)
   ========================================================================== */

#settingsSplit,
#virtuDockRightGroup #settingsSplit,
#bottomButtons #settingsSplit,
#virtuMainVideoWrapper #bottomButtons #settingsSplit {
    position: relative !important;
    overflow: visible !important;
}

#settingsExtraDropdown,
#virtuDockRightGroup #settingsExtraDropdown,
#bottomButtons #settingsExtraDropdown {
    position: relative !important;
    display: inline-flex !important;
    overflow: visible !important;
}

/* Ensure Settings Extra Menu acts as a sleek floating glassmorphic panel */
#settingsExtraMenu,
#virtuDockRightGroup #settingsExtraMenu,
#bottomButtons #settingsExtraMenu,
#virtuMainVideoWrapper #bottomButtons #settingsExtraMenu,
.virtu-more-options-menu {
    position: absolute !important;
    bottom: calc(100% + 14px) !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    width: 290px !important;
    min-width: 280px !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(520px, calc(100vh - 120px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(13, 20, 34, 0.96) !important;
    backdrop-filter: blur(28px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    padding: 10px 8px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    z-index: 10002 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    pointer-events: auto !important;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform-origin: bottom right !important;
}

#settingsExtraMenu.hidden,
.virtu-more-options-menu.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.97) !important;
}

#settingsExtraMenu:not(.hidden),
#settingsExtraMenu.virtu-open,
#settingsExtraMenu.show,
.virtu-more-options-menu:not(.hidden),
.virtu-more-options-menu.virtu-open,
.virtu-more-options-menu.show {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* Custom Sleek Scrollbar */
#settingsExtraMenu::-webkit-scrollbar,
.virtu-more-options-menu::-webkit-scrollbar {
    width: 5px !important;
}

#settingsExtraMenu::-webkit-scrollbar-track,
.virtu-more-options-menu::-webkit-scrollbar-track {
    background: transparent !important;
}

#settingsExtraMenu::-webkit-scrollbar-thumb,
.virtu-more-options-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
}

#settingsExtraMenu::-webkit-scrollbar-thumb:hover,
.virtu-more-options-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(47, 234, 168, 0.45) !important;
}

/* Menu Top Header Bar */
.virtu-menu-top-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 8px 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.virtu-menu-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
}

#virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn,
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn,
.virtu-dock-right-group #settingsExtraMenu #virtuMenuCloseBtn,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-close-btn,
#settingsExtraMenu #virtuMenuCloseBtn,
#settingsExtraMenu .virtu-menu-close-btn,
.virtu-menu-close-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

#virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn:hover,
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn:hover,
.virtu-dock-right-group #settingsExtraMenu #virtuMenuCloseBtn:hover,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-close-btn:hover,
#settingsExtraMenu #virtuMenuCloseBtn:hover,
#settingsExtraMenu .virtu-menu-close-btn:hover,
.virtu-menu-close-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    transform: none !important;
}

/* Category Section Headers */
.virtu-menu-section-header {
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    padding: 8px 8px 3px !important;
    user-select: none !important;
    pointer-events: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.virtu-menu-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    margin: 5px 4px !important;
    border: none !important;
    width: calc(100% - 8px) !important;
}

/* ==========================================================================
   VirtuFit Premium 3-Dots More Options Menu Item Rows
   ========================================================================== */

/* Menu container */
#virtuDockRightGroup #settingsExtraMenu,
#virtuDockRightGroup #settingsSplit #settingsExtraMenu,
.virtu-dock-right-group #settingsExtraMenu,
.virtu-dock-right-group #settingsSplit #settingsExtraMenu,
#virtuCenterStage #bottomButtons #settingsExtraMenu,
#virtuMainVideoWrapper #bottomButtons #settingsExtraMenu,
#bottomButtons #settingsExtraMenu,
#settingsExtraMenu,
.virtu-more-options-menu {
    position: absolute !important;
    bottom: calc(100% + 14px) !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    width: 310px !important;
    min-width: 310px !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(530px, calc(100vh - 120px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(13, 20, 34, 0.96) !important;
    backdrop-filter: blur(28px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    padding: 10px 8px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    z-index: 10002 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    pointer-events: auto !important;
}

/* Individual Item Rows: Full Width Horizontal Row */
#virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn),
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-item,
#virtuDockRightGroup #settingsSplit #settingsExtraMenu button:not(.virtu-menu-close-btn),
#virtuDockRightGroup #settingsSplit #settingsExtraMenu .virtu-menu-item,
.virtu-dock-right-group #settingsExtraMenu button:not(.virtu-menu-close-btn),
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-item,
#virtuCenterStage #bottomButtons #settingsExtraMenu button:not(.virtu-menu-close-btn),
#virtuMainVideoWrapper #bottomButtons #settingsExtraMenu button:not(.virtu-menu-close-btn),
#bottomButtons #settingsExtraMenu button:not(.virtu-menu-close-btn),
#settingsExtraMenu button:not(.virtu-menu-close-btn),
#settingsExtraMenu .virtu-menu-item,
#bottomButtons #settingsExtraMenu .virtu-menu-item,
.virtu-more-options-menu button:not(.virtu-menu-close-btn),
.virtu-more-options-menu .virtu-menu-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 10px !important;
    margin: 2px 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: left !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
    position: static !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}

#virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover,
#virtuDockRightGroup #settingsSplit #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
#virtuDockRightGroup #settingsSplit #settingsExtraMenu .virtu-menu-item:hover,
.virtu-dock-right-group #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-item:hover,
#virtuCenterStage #bottomButtons #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
#bottomButtons #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
#settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
#settingsExtraMenu .virtu-menu-item:hover,
.virtu-more-options-menu button:not(.virtu-menu-close-btn):hover,
.virtu-more-options-menu .virtu-menu-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Squircle Icon Wrapper ONLY for .virtu-menu-icon */
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-icon,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-icon,
#settingsExtraMenu .virtu-menu-icon,
#bottomButtons #settingsExtraMenu .virtu-menu-icon,
.virtu-more-options-menu .virtu-menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.15s ease !important;
    border: none !important;
    box-shadow: none !important;
}

/* Strict reset for <i> font icon INSIDE the squircle - DO NOT turn <i> into a box! */
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-icon i,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-icon i,
#virtuDockRightGroup #settingsExtraMenu button i,
#settingsExtraMenu .virtu-menu-icon i,
#bottomButtons #settingsExtraMenu .virtu-menu-icon i,
#settingsExtraMenu button i,
#bottomButtons #settingsExtraMenu button i,
.virtu-more-options-menu .virtu-menu-icon i,
.virtu-more-options-menu button i {
    font-size: 13px !important;
    color: inherit !important;
    line-height: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Label Typography */
#virtuDockRightGroup #settingsExtraMenu .virtu-menu-label,
.virtu-dock-right-group #settingsExtraMenu .virtu-menu-label,
#settingsExtraMenu .virtu-menu-label,
#bottomButtons #settingsExtraMenu .virtu-menu-label,
.virtu-more-options-menu .virtu-menu-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #f1f5f9 !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Active State Accents */
#settingsExtraMenu .virtu-menu-item.is-active,
#bottomButtons #settingsExtraMenu button.virtu-menu-item.is-active {
    background: rgba(47, 234, 168, 0.12) !important;
    border-color: rgba(47, 234, 168, 0.35) !important;
    color: #2feaa8 !important;
}

#settingsExtraMenu .virtu-menu-item.is-recording .virtu-menu-icon,
#bottomButtons #settingsExtraMenu button.virtu-menu-item.is-recording .virtu-menu-icon {
    background: rgba(255, 71, 87, 0.25) !important;
    color: #ff4757 !important;
    animation: virtuRecPulse 1.2s infinite ease-in-out !important;
}

@keyframes virtuRecPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.92);
    }
}

#settingsExtraMenu .virtu-menu-item.is-hand-raised .virtu-menu-icon,
#bottomButtons #settingsExtraMenu button.virtu-menu-item.is-hand-raised .virtu-menu-icon {
    background: rgba(251, 191, 36, 0.25) !important;
    color: #fbbf24 !important;
}

#settingsExtraMenu .virtu-menu-item.is-screen-sharing .virtu-menu-icon,
#bottomButtons #settingsExtraMenu button.virtu-menu-item.is-screen-sharing .virtu-menu-icon {
    background: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

/* Mobile Position */
@media (max-width: 600px) {

    #settingsExtraMenu,
    #bottomButtons #settingsExtraMenu,
    #virtuMainVideoWrapper #bottomButtons #settingsExtraMenu,
    .virtu-more-options-menu {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: calc(100% + 12px) !important;
        width: min(320px, 92vw) !important;
        max-width: 92vw !important;
    }
}

/* =========================================================================
   VirtuFit Theme: Compact & Sleek Settings Modal (#mySettings)
   Matches Dark Glassmorphic & Neon Emerald Aesthetic
   ========================================================================= */
#mySettings {
    z-index: 10005 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(840px, 92vw) !important;
    height: min(580px, 86vh) !important;
    min-height: 420px !important;
    max-height: 86vh !important;
    background: rgba(13, 18, 27, 0.94) !important;
    backdrop-filter: blur(28px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 40px rgba(47, 234, 168, 0.08) !important;
    padding: 10px 14px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#mySettings.hidden:not(.show) {
    display: none !important;
}

#mySettings.show {
    display: flex !important;
    flex-direction: column !important;
}

/* Header */
#mySettingsHeader {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 4px 6px !important;
    margin: 0 0 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    cursor: default !important;
}

#mySettingsCloseBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

#mySettingsCloseBtn:hover {
    background: rgba(255, 71, 87, 0.2) !important;
    color: #ff4757 !important;
    border-color: rgba(255, 71, 87, 0.4) !important;
    transform: scale(1.05) !important;
}

/* Main Container */
.mySettingsMain {
    display: flex !important;
    flex: 1 !important;
    min-height: 0 !important;
    height: calc(100% - 38px) !important;
    gap: 10px !important;
    overflow: hidden !important;
}

/* Left Sidebar Navigation */
#mySettingsNav,
.mySettingsMain .tab {
    display: flex !important;
    flex-direction: column !important;
    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 6px 4px !important;
    margin: 0 !important;
    background: rgba(9, 13, 20, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    flex: 0 0 185px !important;
}

/* Navigation Scrollbar */
#mySettingsNav::-webkit-scrollbar,
.tabActions::-webkit-scrollbar,
#mySettings::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

#mySettingsNav::-webkit-scrollbar-thumb,
.tabActions::-webkit-scrollbar-thumb,
#mySettings::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
}

#mySettingsNav::-webkit-scrollbar-track,
.tabActions::-webkit-scrollbar-track,
#mySettings::-webkit-scrollbar-track {
    background: transparent !important;
}

/* Category Headers */
.settings-nav-label {
    display: block !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    margin: 8px 8px 3px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
}

.settings-nav-label:first-child {
    margin-top: 2px !important;
}

/* Tab Navigation Buttons */
#mySettingsNav.tab button,
#mySettingsNav button.tablinks {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    height: 33px !important;
    min-height: 33px !important;
    max-height: 33px !important;
    padding: 0 9px !important;
    margin: 1px 0 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
    box-sizing: border-box !important;
    text-align: left !important;
    float: none !important;
    white-space: nowrap !important;
    position: static !important;
}

#mySettingsNav.tab button:hover,
#mySettingsNav button.tablinks:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}

#mySettingsNav.tab button.active,
#mySettingsNav button.tablinks.active {
    background: rgba(59, 130, 246, 0.14) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

#mySettingsNav button.tablinks::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    width: 18px !important;
    min-width: 18px !important;
    text-align: center !important;
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease !important;
}

#mySettingsNav button.tablinks.fas::before,
#mySettingsNav button.tablinks.fa-solid::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

#mySettingsNav button.tablinks.far::before,
#mySettingsNav button.tablinks.fa-regular::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

#mySettingsNav button.tablinks.fab::before,
#mySettingsNav button.tablinks.fa-brands::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

#mySettingsNav button.tablinks:hover::before {
    color: #e2e8f0 !important;
}

#mySettingsNav button.tablinks.active::before {
    color: #60a5fa !important;
}

#mySettingsNav .tabButtonText {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: inherit !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

#mySettingsNav button.tablinks.active .tabButtonText {
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Right Content Area */
.tabActions {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(9, 13, 20, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

/* Tab Content Header Intro */
.settings-section-intro {
    padding: 11px 14px !important;
    margin: -12px -14px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.settings-section-intro h3 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
}

#mySettings .settings-section-intro p {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    display: block !important;
}

/* Tab Content */
.tabcontent {
    padding: 12px 14px 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Eliminate jagged legacy <br> spacers inside settings tabs */
#mySettings .tabcontent br {
    display: none !important;
}

#mySettings .tabcontent .hidden {
    display: none !important;
}

#mySettings hr {
    margin: 10px 0 !important;
    border: none !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Room ID Table Row */
.settingsTable {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 4px !important;
    margin: 0 !important;
}

.settingsTable tr.room-id-row {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
}

.settingsTable tr.room-id-row td {
    padding: 6px 10px !important;
}

.settingsTable tr.room-id-row .title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.settingsTable tr.room-id-row .title i {
    color: #2feaa8 !important;
    font-size: 13px !important;
    margin: 0 !important;
}

#mySettings #roomId {
    font-family: var(--virtu-font-mono) !important;
    font-size: 12px !important;
    color: #2feaa8 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
}

#mySettings #copyRoomUrlBtn,
#mySettings .settings-icon-btn {
    width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: rgba(47, 234, 168, 0.12) !important;
    color: #2feaa8 !important;
    border: 1px solid rgba(47, 234, 168, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

#mySettings #copyRoomUrlBtn:hover,
#mySettings .settings-icon-btn:hover {
    background: rgba(47, 234, 168, 0.25) !important;
    border-color: #2feaa8 !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Action Cards Grid */
.room-action-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 8px !important;
    margin: 6px 0 !important;
}

#tabRoom .room-action-grid .room-action-card,
#mySettings .room-action-card {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

#tabRoom .room-action-grid .room-action-card:hover,
#mySettings .room-action-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(47, 234, 168, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

#tabRoom .room-action-grid .room-action-card>i,
#mySettings .room-action-card>i {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#tabRoom .room-action-grid .room-action-card>p,
#mySettings .room-action-card>p {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Options Table Rows (Settings Toggles & Stats — Strictly Left Aligned) */
.settingsTable tr {
    transition: background 0.15s ease !important;
}

.settingsTable tr:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

#mySettings .settingsTable td,
.settingsTable td {
    padding: 6px 12px !important;
    vertical-align: middle !important;
    text-align: left !important;
}

#mySettings .settingsTable td:first-child {
    text-align: left !important;
}

#mySettings .settingsTable td:last-child {
    text-align: right !important;
    width: auto !important;
}

#mySettings .settingsTable td:last-child>p {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 12px !important;
    color: #cbd5e1 !important;
}

#mySettings .settingsTable .title:not(.form-switch),
#mySettings .title:not(.form-switch),
.settingsTable .title:not(.form-switch) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 !important;
}

#mySettings .settingsTable .title:not(.form-switch)>*,
.settingsTable .title:not(.form-switch)>* {
    margin: 0 !important;
    text-align: left !important;
}

#mySettings .settingsTable .title:not(.form-switch)>p,
.settingsTable .title:not(.form-switch)>p {
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #e2e8f0 !important;
    line-height: 1.3 !important;
}

#mySettings .settingsTable .title:not(.form-switch)>i,
.settingsTable .title:not(.form-switch)>i {
    color: #64748b !important;
    font-size: 12.5px !important;
    width: 20px !important;
    min-width: 20px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

#mySettings .settingsTable .title:not(.form-switch)>i.red {
    color: #f87171 !important;
}

#mySettings .settingsTable .title:not(.form-switch)>i.gold {
    color: #fbbf24 !important;
}

/* Collapse empty spacer row in Moderator table */
#tabModerator .settingsTable tr:has(> td:empty) {
    display: none !important;
}

/* Moderator tab extra compact spacing */
#tabModerator .settingsTable td {
    padding: 5px 11px !important;
}

.settings-option-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1px !important;
}

.settings-option-copy strong {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.settings-option-copy small {
    font-size: 10.5px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

/* Modern Compact Clean Switches (Normal Blue Accent, Strictly Right-Aligned) */
#mySettings .form-switch,
#mySettings .form-switch.form-switch-md,
#mySettings .settingsTable td:last-child .form-switch,
#mySettings .settingsTable td:last-child .form-switch.title {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#mySettings .form-switch::after,
#mySettings .form-switch.form-switch-md::after,
#mySettings .form-switch.form-switch-md:has(.form-check-input:checked)::after {
    content: none !important;
    display: none !important;
}

#mySettings .form-switch .form-check-input {
    width: 34px !important;
    height: 18px !important;
    min-width: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background-color: #334155 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23f8fafc'/%3e%3c/svg%3e") !important;
    background-position: left 2px center !important;
    background-size: 13px 13px !important;
    background-repeat: no-repeat !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background-position 0.18s ease, background-color 0.18s ease, border-color 0.18s ease !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#mySettings .form-switch .form-check-input:hover {
    border-color: rgba(255, 255, 255, 0.28) !important;
}

#mySettings .form-switch .form-check-input:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    background-position: right 2px center !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
    box-shadow: none !important;
}

#mySettings .form-switch .form-check-input:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

/* =========================================================================
   Modern Structured Profile Tab (#tabProfile)
   ========================================================================= */
#tabProfile #myProfileAvatarControls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 12px 14px !important;
    margin: 0 0 10px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-sizing: border-box !important;
}

#tabProfile #myProfileAvatar {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(59, 130, 246, 0.45) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#tabProfile #myProfileAvatar:hover {
    transform: scale(1.05) !important;
    border-color: #2feaa8 !important;
    box-shadow: 0 0 0 3px rgba(47, 234, 168, 0.35) !important;
}

#tabProfile #myProfileAvatarButtons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

#tabProfile #myProfileAvatarButtons button {
    margin: 0 !important;
    width: auto !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#tabProfile #myProfileAvatarFileBtn {
    background: rgba(47, 234, 168, 0.15) !important;
    border: 1px solid rgba(47, 234, 168, 0.35) !important;
    color: #2feaa8 !important;
    font-weight: 600 !important;
}

#tabProfile #myProfileAvatarFileBtn:hover {
    background: #2feaa8 !important;
    color: #0b1120 !important;
    border-color: #2feaa8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(47, 234, 168, 0.25) !important;
}

#tabProfile #myProfileAvatarResetBtn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
}

#tabProfile #myProfileAvatarResetBtn:hover {
    background: rgba(239, 68, 68, 0.18) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}

#tabProfile #myProfileAvatarUploadBtn {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    color: #60a5fa !important;
    font-weight: 600 !important;
}

#tabProfile #myProfileAvatarUploadBtn:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25) !important;
}

#tabProfile .avatar-size-hint {
    font-size: 11px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    user-select: none !important;
}

#tabProfile #shortcutsTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    font-size: 12px !important;
    overflow: hidden !important;
}

#tabProfile #shortcutsTable tr,
#tabProfile #shortcutsTable tr:nth-child(even) {
    background: transparent !important;
}

#tabProfile #shortcutsTable tr+tr td {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#tabProfile #shortcutsTable td {
    padding: 8px 12px !important;
    text-align: left !important;
}

#tabProfile #shortcutsTable .title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
}

#tabProfile #shortcutsTable .title>i {
    color: #60a5fa !important;
    font-size: 12.5px !important;
    width: 18px !important;
    min-width: 18px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#tabProfile #shortcutsTable .title>p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

#tabProfile #shortcutsTable .title>p#userName,
#tabProfile #shortcutsTable .title>p#isUserPresenter {
    margin-left: auto !important;
    color: #f8fafc !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#tabProfile #extraInfo {
    font-size: 11.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.55 !important;
    padding: 2px 4px !important;
    word-break: break-word !important;
}

#tabProfile #extraInfo p {
    display: block !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    color: #94a3b8 !important;
    font-size: 11.5px !important;
}

/* =========================================================================
   Modern Structured Keyboard Shortcuts Tab (#tabShortcuts)
   ========================================================================= */
#tabShortcuts .settingsTable {
    margin-bottom: 10px !important;
}

#tabShortcuts #shortcutsTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    font-size: 12px !important;
    overflow: hidden !important;
}

#tabShortcuts #shortcutsTable thead th {
    padding: 8px 12px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    text-align: left !important;
}

#tabShortcuts #shortcutsTable thead th:nth-child(1),
#tabShortcuts #shortcutsTable thead th:nth-child(2) {
    width: 68px !important;
    text-align: center !important;
}

#tabShortcuts #shortcutsTable tbody tr,
#tabShortcuts #shortcutsTable tbody tr:nth-child(even) {
    background: transparent !important;
    transition: background 0.12s ease !important;
}

#tabShortcuts #shortcutsTable tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

#tabShortcuts #shortcutsTable tbody tr+tr td {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#tabShortcuts #shortcutsTable tbody td {
    padding: 6px 12px !important;
    vertical-align: middle !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
}

#tabShortcuts #shortcutsTable tbody td:nth-child(1),
#tabShortcuts #shortcutsTable tbody td:nth-child(2) {
    text-align: center !important;
}

/* Render key letter icon as modern physical keyboard keycap */
#tabShortcuts #shortcutsTable tbody td:nth-child(1) i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45) !important;
    color: #f8fafc !important;
    font-size: 11px !important;
}

#tabShortcuts #shortcutsTable tbody td:nth-child(2) i {
    color: #60a5fa !important;
    font-size: 12.5px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#tabShortcuts #shortcutsTable tbody td:nth-child(3) strong {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

/* =========================================================================
   Unified Left-Aligned Field Labels, Selects & Controls Across All Tabs
   (Fixes jumping & centered titles in Video, Layout, Audio, Styling, etc.)
   ========================================================================= */
#mySettings .tabcontent .title:not(.form-switch) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 12px 0 5px !important;
    padding: 0 !important;
}

#mySettings .settingsTable .title:not(.form-switch) {
    margin: 0 !important;
}

#mySettings .tabcontent>.settings-section-intro+.title:not(.form-switch),
#mySettings .tabcontent>div:first-of-type>.title:not(.form-switch) {
    margin-top: 2px !important;
}

#mySettings .tabcontent .title:not(.form-switch)>i,
#mySettings .tabcontent .title:not(.form-switch)>p {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

#mySettings .tabcontent .title:not(.form-switch)>i {
    color: #60a5fa !important;
    font-size: 12.5px !important;
    width: 18px !important;
    min-width: 18px !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#mySettings .tabcontent .title:not(.form-switch)>i.red {
    color: #f87171 !important;
}

#mySettings .tabcontent .title:not(.form-switch)>i.gold {
    color: #fbbf24 !important;
}

#mySettings .tabcontent .title:not(.form-switch)>p {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    line-height: 1.3 !important;
}

/* Inputs, Selects, and Buttons inside all tabs */
#mySettings select,
#mySettings .tabcontent select:not(.goog-te-combo) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 32px 0 12px !important;
    margin: 0 0 2px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    background-color: rgba(19, 25, 36, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 9px !important;
    color: #f1f5f9 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

#mySettings .settingsTable select {
    width: auto !important;
    min-width: 130px !important;
}

#mySettings select:focus,
#mySettings .tabcontent select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

/* Audio Tab Alignment */
#mySettings .tabcontent .volume-container {
    width: 100% !important;
    margin: 8px 0 10px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-sizing: border-box !important;
}

#mySettings .tabcontent .speaker-select-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 2px !important;
}

#mySettings .tabcontent .speaker-select-row select {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#mySettings .tabcontent .speaker-select-row button#speakerTestBtn {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 14px !important;
}

#mySettings .tabcontent .speaker-select-row button#speakerTestBtn p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
}

#mySettings .tabcontent .output-volume-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 2px 0 4px !important;
}

#mySettings .tabcontent .output-volume-slider {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#mySettings .tabcontent .output-volume-value {
    margin: 0 !important;
    min-width: 40px !important;
    text-align: right !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
}

/* Appearance Tab Theme Cards Alignment */
#tabStyling .theme-cards-grid {
    margin: 10px 0 4px !important;
    gap: 8px !important;
}

#tabStyling .theme-card {
    padding: 10px 8px !important;
    border-radius: 10px !important;
}

#tabStyling .theme-card i {
    margin: 0 !important;
    padding: 0 !important;
}

#tabStyling .pickr {
    margin: 4px 0 10px !important;
}

/* Recording Tab Alignment */
#tabRecording .recording-field-hint {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    color: #64748b !important;
}

#tabRecording .recording-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 10px 0 !important;
}

#tabRecording .recording-controls button {
    width: auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 9px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4) !important;
    transition: all 0.2s ease !important;
}

#tabRecording .recording-controls button:hover {
    background: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5) !important;
}

#tabRecording .recording-controls button p {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* =========================================================================
   Modern Recording Options Modal (VirtuFit Styled)
   ========================================================================= */
.virtu-rec-swal-popup {
    border-radius: 18px !important;
    padding: 24px 20px 20px !important;
    background: #141b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    max-width: 480px !important;
    width: 92% !important;
}

.virtu-rec-swal-popup .swal2-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 0 0 4px !important;
    margin: 0 !important;
}

.virtu-rec-modal-container {
    text-align: left !important;
    margin-top: 10px !important;
}

.virtu-rec-modal-sub {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    margin: 0 0 14px 0 !important;
    text-align: center !important;
}

.virtu-rec-options-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.virtu-rec-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.virtu-rec-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-1px) !important;
}

.virtu-rec-card.is-selected {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.25) !important;
}

.virtu-rec-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.virtu-rec-card.is-selected .virtu-rec-card-icon {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.virtu-rec-card-text {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.virtu-rec-card-title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #f8fafc !important;
}

.virtu-rec-card-desc {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    line-height: 1.3 !important;
}

.virtu-rec-card-check {
    font-size: 18px !important;
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.virtu-rec-card.is-selected .virtu-rec-card-check {
    color: #ef4444 !important;
}

.virtu-rec-modal-meta {
    margin-top: 14px !important;
    text-align: center !important;
}

.virtu-rec-settings-link {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.virtu-rec-settings-link:hover {
    color: #2feaa8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Light mode support for recording modal */
body.virtu-light-mode .virtu-rec-swal-popup,
html[data-theme="light"] .virtu-rec-swal-popup {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-rec-swal-popup .swal2-title,
html[data-theme="light"] .virtu-rec-swal-popup .swal2-title {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-rec-card,
html[data-theme="light"] .virtu-rec-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body.virtu-light-mode .virtu-rec-card:hover,
html[data-theme="light"] .virtu-rec-card:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

body.virtu-light-mode .virtu-rec-card.is-selected,
html[data-theme="light"] .virtu-rec-card.is-selected {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.15) !important;
}

body.virtu-light-mode .virtu-rec-card-title,
html[data-theme="light"] .virtu-rec-card-title {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-rec-card-desc,
html[data-theme="light"] .virtu-rec-card-desc {
    color: #64748b !important;
}

body.virtu-light-mode .virtu-rec-settings-link,
html[data-theme="light"] .virtu-rec-settings-link {
    color: #64748b !important;
}

body.virtu-light-mode .virtu-rec-settings-link:hover,
html[data-theme="light"] .virtu-rec-settings-link:hover {
    color: #059669 !important;
    background: #f1f5f9 !important;
}

#mySettings :is(.form-control, input[type='text'], input[type='url'], input[type='password'], input[type='number']) {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    background-color: rgba(19, 25, 36, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 9px !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

#mySettings :is(.form-control, input[type='text'], input[type='url'], input[type='password'], input[type='number']):focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

#mySettings .tabcontent button:not(.room-action-card):not(.tablinks):not(.settings-icon-btn):not(.fas):not(.fa-solid):not(.far):not(.fab) {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 12px !important;
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    gap: 8px !important;
}

#mySettings .tabcontent button:not(.room-action-card):not(.tablinks):not(.settings-icon-btn):hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
}

#mySettings input[type="range"] {
    accent-color: #3b82f6 !important;
}

/* Mobile Responsiveness for Modal */
@media screen and (max-width: 768px) {
    #mySettings {
        width: 96vw !important;
        height: 90vh !important;
        padding: 8px !important;
        border-radius: 14px !important;
    }

    .mySettingsMain {
        flex-direction: column !important;
    }

    #mySettingsNav,
    .mySettingsMain .tab {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 120px !important;
        flex: 0 0 120px !important;
    }

    .tabActions {
        height: calc(100% - 130px) !important;
    }
}

#pollRoom {
    z-index: 10005 !important;
}

#pollRoom.hidden {
    display: none !important;
}

#pollRoom.show:not(.hidden) {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

#editorRoom {
    z-index: 10005 !important;
}

#editorRoom.hidden {
    display: none !important;
}

#editorRoom.show:not(.hidden) {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

#whiteboard {
    z-index: 10005 !important;
}

#whiteboard.hidden {
    display: none !important;
}

#whiteboard.show:not(.hidden) {
    display: block !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   MODERN CYBER GLASS ROOM REACTIONS & SOUNDS PANEL (#emojiPickerContainer)
   ========================================================================== */

#emojiPickerContainer,
.roomEmoji {
    position: fixed !important;
    z-index: 10005 !important;
    width: min(375px, calc(100vw - 24px)) !important;
    max-height: min(540px, calc(100vh - 100px)) !important;
    padding: 0 !important;
    background: rgba(14, 20, 31, 0.95) !important;
    backdrop-filter: blur(28px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    display: none;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    animation: virtuEmojiPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes virtuEmojiPop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.room-emoji-header {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px 20px 0 0 !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    cursor: move !important;
}

.room-emoji-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.room-emoji-title-mark {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 10px !important;
    background: rgba(47, 234, 168, 0.14) !important;
    color: #2feaa8 !important;
    border: 1px solid rgba(47, 234, 168, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 12px rgba(47, 234, 168, 0.2) !important;
}

.room-emoji-title-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 1px !important;
    min-width: 0 !important;
}

.room-emoji-title-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

.room-emoji-title-sub {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    line-height: 1.2 !important;
}

.room-emoji-close-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.18s ease !important;
}

.room-emoji-close-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    transform: rotate(90deg) !important;
}

/* Tabs Segmented Control */
.room-emoji-tab-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 10px 12px 6px !important;
    padding: 4px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
}

.room-emoji-tab {
    height: 36px !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

.room-emoji-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f1f5f9 !important;
}

.room-emoji-tab.active {
    background: rgba(47, 234, 168, 0.16) !important;
    border-color: rgba(47, 234, 168, 0.35) !important;
    color: #2feaa8 !important;
    box-shadow: 0 2px 10px rgba(47, 234, 168, 0.18) !important;
}

.room-emoji-tab i {
    font-size: 13px !important;
    color: inherit !important;
}

/* Floating Emoji Burst Screen Overlay */
#userEmoji,
.userEmoji {
    z-index: 10004 !important;
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Tab 1: Emoji Mart Picker Container */
.room-emoji-mart {
    display: block;
    flex: 1 1 auto;
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
}

.room-emoji-mart.hidden,
#emojiPickerContainer .room-emoji-mart.hidden,
#emojiPickerContainer .room-emoji-mart[style*="display: none"],
#roomEmojiMart.hidden,
#roomEmojiMart[style*="display: none"] {
    display: none !important;
}

.room-emoji-mart em-emoji-picker {
    --rgb-background: 14, 20, 31 !important;
    --rgb-input: 23, 31, 46 !important;
    --rgb-color: 241, 245, 249 !important;
    --rgb-accent: 47, 234, 168 !important;
    --border-radius: 16px !important;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    background: transparent !important;
}

/* Tab 2: Sounds Panel - MiroTalk Native 6-column Grid with Modern Cyber Glass Styling */
#roomEmojiSounds,
.room-emoji-grid {
    display: none;
    box-sizing: border-box !important;
    width: 100% !important;
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    padding: 16px 12px 20px !important;
}

#roomEmojiSounds.hidden {
    display: none !important;
}

#roomEmojiSounds.visible,
.room-emoji-grid.visible,
#emojiPickerContainer #roomEmojiSounds.visible,
#emojiPickerContainer #roomEmojiSounds[style*="display: grid"],
#emojiPickerContainer .room-emoji-grid.visible {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-auto-rows: 52px !important;
    gap: 8px !important;
    justify-items: center !important;
    align-items: center !important;
}
.room-emoji-grid.visible {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-auto-rows: 52px !important;
    gap: 8px !important;
    justify-items: center !important;
    align-items: center !important;
}

.room-emoji-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1) !important;
}

.room-emoji-btn:hover {
    background: rgba(47, 234, 168, 0.16) !important;
    border-color: rgba(47, 234, 168, 0.5) !important;
    transform: translateY(-2px) scale(1.15) !important;
    box-shadow: 0 6px 18px rgba(47, 234, 168, 0.25) !important;
}

.room-emoji-btn:active,
.room-emoji-btn.is-playing {
    transform: scale(0.92) !important;
    background: rgba(47, 234, 168, 0.3) !important;
    border-color: #2feaa8 !important;
    box-shadow: 0 0 16px rgba(47, 234, 168, 0.4) !important;
}

body.virtu-light-mode .room-emoji-btn,
html[data-theme="light"] .room-emoji-btn {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .room-emoji-btn:hover,
html[data-theme="light"] .room-emoji-btn:hover {
    background: #e2e8f0 !important;
    border-color: #059669 !important;
}

#roomEmojiSounds::-webkit-scrollbar,
.room-emoji-mart::-webkit-scrollbar {
    width: 5px !important;
}
#roomEmojiSounds::-webkit-scrollbar-track,
.room-emoji-mart::-webkit-scrollbar-track {
    background: transparent !important;
}
#roomEmojiSounds::-webkit-scrollbar-thumb,
.room-emoji-mart::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 999px !important;
}
#roomEmojiSounds::-webkit-scrollbar-thumb:hover,
.room-emoji-mart::-webkit-scrollbar-thumb:hover {
    background: rgba(47, 234, 168, 0.4) !important;
}

#breakoutPanel {
    z-index: 10005 !important;
}

#breakoutPanel.hidden {
    display: none !important;
}

#breakoutToolbar:not(.hidden) {
    z-index: 10006 !important;
}

/* SweetAlert2 modals (About/Help, alerts, popups) */
.swal2-container {
    z-index: 10020 !important;
}

/* =========================================================================
   Modern Pre-Join Lobby Modal (.init-modal-size / #initUser)
   Includes Custom Modern Line In / Line Out / Camera Dropdowns
   100% Preserves All Native Controls, Icons, Dynamic Colors & Validation
   ========================================================================= */
.swal2-container:has(.swal2-popup.init-modal-size) {
    background: radial-gradient(circle at 50% 35%, rgba(30, 58, 138, 0.16), rgba(5, 8, 15, 0.88)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.swal2-popup.init-modal-size {
    width: min(860px, 94vw) !important;
    max-width: 94vw !important;
    padding: 26px 26px 24px !important;
    background: linear-gradient(180deg, rgba(19, 25, 38, 0.96) 0%, rgba(12, 16, 25, 0.98) 100%) !important;
    backdrop-filter: blur(30px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(145%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.82),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Modal sizing */
.swal2-popup.init-modal-size:has(#initVideo:not([style*="display: none"])),
.swal2-popup.init-modal-size:has(#imageGrid[style*="display: grid"]),
.swal2-popup.init-modal-size:has(#imageGrid[style*="display: block"]) {
    width: min(860px, 94vw) !important;
}

.swal2-popup.init-modal-size .swal2-title {
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-subtitle {
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #8492a6 !important;
    line-height: 1.4 !important;
}

.swal2-popup.init-modal-size .swal2-html-container {
    position: relative !important;
    z-index: 100 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.swal2-popup.init-modal-size #initUser.init-user:not(.hidden) {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Video container display */
.swal2-popup.init-modal-size #initVideoContainer.hidden,
.swal2-popup.init-modal-size #initVideoContainer[style*="display: none"] {
    display: none !important;
}

.swal2-popup.init-modal-size #initVideoContainer {
    position: relative !important;
    flex: 1.15 !important;
    min-width: 0 !important;
    min-height: 256px !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 16px !important;
    background: #080c13 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.swal2-popup.init-modal-size #initCameraOffNotice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    height: 256px;
    width: 100%;
}

.swal2-popup.init-modal-size #initCameraOffNotice i {
    font-size: 36px;
    color: #475569;
}

.swal2-popup.init-modal-size #initCameraOffNotice.hidden,
.swal2-popup.init-modal-size #initCameraOffNotice[style*="display: none"] {
    display: none !important;
}

.swal2-popup.init-modal-size #initVideoContainer #imageGrid {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px) !important;
    height: calc(100% - 16px) !important;
    max-height: none !important;
    background: rgba(8, 12, 19, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 12px !important;
    z-index: 10 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)) !important;
    gap: 8px !important;
    align-content: start !important;
}

#imageGrid img.vb-selected,
#imageGrid .image-wrapper img.vb-selected {
    outline: 2px solid #2563eb !important;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6) !important;
    border-radius: 8px !important;
    transform: scale(1.05) !important;
}

.swal2-popup.init-modal-size #initVideoContainer video#initVideo {
    width: 100% !important;
    height: 256px !important;
    border-radius: 11px !important;
    object-fit: cover !important;
    background: #05080d !important;
}

/* Controls & Device Select Column */
.swal2-popup.init-modal-size .initComands {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
}

/* Frosted Dock Container around Action Toolbar Buttons */
.swal2-popup.init-modal-size .virtu-lobby-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 8px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Keep hidden toolbar buttons strictly hidden (fixes initStopScreenButton showing) */
.swal2-popup.init-modal-size .virtu-lobby-toolbar button.hidden,
.swal2-popup.init-modal-size .initComands>button.hidden {
    display: none !important;
}

/* Action Icon Toolbar Buttons (Compact 36px so all visible buttons align in a single clean row) */
.swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden),
.swal2-popup.init-modal-size .initComands>button:not(.hidden) {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden):hover,
.swal2-popup.init-modal-size .initComands>button:not(.hidden):hover {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    transform: none !important;
}

.swal2-popup.init-modal-size .virtu-lobby-toolbar button[style*="color: red"],
.swal2-popup.init-modal-size .virtu-lobby-toolbar button[style*="color:red"],
.swal2-popup.init-modal-size .virtu-lobby-toolbar button.red,
.swal2-popup.init-modal-size .initComands>button[style*="color: red"],
.swal2-popup.init-modal-size .initComands>button[style*="color:red"],
.swal2-popup.init-modal-size .initComands>button.red {
    background: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(239, 68, 68, 0.34) !important;
}

.swal2-popup.init-modal-size .virtu-lobby-toolbar button[style*="color: red"]:hover,
.swal2-popup.init-modal-size .virtu-lobby-toolbar button[style*="color:red"]:hover,
.swal2-popup.init-modal-size .virtu-lobby-toolbar button.red:hover {
    background: rgba(239, 68, 68, 0.24) !important;
    border-color: rgba(239, 68, 68, 0.55) !important;
}

/* Keep Native Select Visually Hidden while Keeping Full DOM/JS State */
.swal2-popup.init-modal-size select.virtu-native-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Modern Custom Line In / Line Out / Camera Dropdown */
.swal2-popup.init-modal-size .virtu-lobby-select {
    position: relative !important;
    width: 100% !important;
    z-index: 5 !important;
    text-align: left !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select.is-open {
    z-index: 60 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select.is-disabled {
    opacity: 0.55 !important;
    pointer-events: none !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-trigger {
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 6px 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: #f1f5f9 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-align: left !important;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
    box-sizing: border-box !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-trigger:hover {
    background: rgba(255, 255, 255, 0.065) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: none !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select.is-open .virtu-lobby-select-trigger {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.swal2-popup.init-modal-size .virtu-select-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    background: rgba(59, 130, 246, 0.14) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.24) !important;
    flex-shrink: 0 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select[data-for="initMicrophoneSelect"] .virtu-select-icon {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.24) !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select[data-for="initSpeakerSelect"] .virtu-select-icon {
    background: rgba(139, 92, 246, 0.14) !important;
    color: #a78bfa !important;
    border-color: rgba(139, 92, 246, 0.24) !important;
}

.swal2-popup.init-modal-size .virtu-select-copy {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
}

.swal2-popup.init-modal-size .virtu-select-meta {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.swal2-popup.init-modal-size .virtu-select-value {
    width: 100% !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #f1f5f9 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.swal2-popup.init-modal-size .virtu-select-arrow {
    font-size: 11px !important;
    color: #64748b !important;
    transition: transform 0.18s ease, color 0.18s ease !important;
    flex-shrink: 0 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select.is-open .virtu-select-arrow {
    transform: rotate(180deg) !important;
    color: #60a5fa !important;
}

/* Custom Solid Dark Dropdown Menu (Always Floats Above Join Button & Name Input) */
.swal2-popup.init-modal-size .virtu-lobby-select-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    padding: 6px !important;
    max-height: 210px !important;
    overflow-y: auto !important;
    border-radius: 13px !important;
    background: #0d1421 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    display: none !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select.is-open .virtu-lobby-select-menu {
    display: flex !important;
    animation: virtuSelectFadeIn 0.14s ease forwards !important;
}

@keyframes virtuSelectFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swal2-popup.init-modal-size .virtu-lobby-select-menu::-webkit-scrollbar {
    width: 4px !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-option {
    width: 100% !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 7px 10px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    border-radius: 9px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #cbd5e1 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color 0.12s ease, color 0.12s ease !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-option:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
    transform: none !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-option.is-selected {
    background: rgba(59, 130, 246, 0.16) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.swal2-popup.init-modal-size .virtu-option-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #475569 !important;
    flex-shrink: 0 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-option.is-selected .virtu-option-dot {
    background: #3b82f6 !important;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.7) !important;
}

.swal2-popup.init-modal-size .virtu-option-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.swal2-popup.init-modal-size .virtu-option-check {
    font-size: 11px !important;
    color: #60a5fa !important;
    opacity: 0 !important;
    flex-shrink: 0 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-option.is-selected .virtu-option-check {
    opacity: 1 !important;
}

.swal2-popup.init-modal-size .virtu-lobby-select-empty {
    padding: 10px 12px !important;
    font-size: 12px !important;
    color: #64748b !important;
    text-align: center !important;
}

/* Name Input Field with Crisp Built-In User Icon */
.swal2-popup.init-modal-size .swal2-input#usernameInput {
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 12px 0 0 !important;
    padding: 0 38px !important;
    box-sizing: border-box !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3e%3ccircle cx='12' cy='7' r='4'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 16px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 13px !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease !important;
}

.swal2-popup.init-modal-size .swal2-input#usernameInput:focus {
    outline: none !important;
    background-color: rgba(255, 255, 255, 0.065) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Validation Banner */
.swal2-popup.init-modal-size .swal2-validation-message {
    position: relative !important;
    z-index: 5 !important;
    margin: 10px 0 0 !important;
    padding: 8px 12px !important;
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 11px !important;
    color: #fca5a5 !important;
    font-size: 12.5px !important;
}

/* Join Meeting Button (Clean Normal Hover Color, No Lift/Glow Effect) */
.swal2-popup.init-modal-size .swal2-actions {
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.swal2-popup.init-modal-size .swal2-actions .swal2-styled.swal2-confirm {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    background: #2563eb !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.15s ease !important;
}

.swal2-popup.init-modal-size .swal2-actions .swal2-styled.swal2-confirm:hover,
.swal2-popup.init-modal-size .swal2-actions .swal2-styled.swal2-confirm:active {
    background: #1d4ed8 !important;
    background-image: none !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive stacking on narrow viewports */
@media (max-width: 720px) {
    .swal2-popup.init-modal-size #initUser.init-user:not(.hidden) {
        flex-direction: column !important;
    }

    .swal2-popup.init-modal-size {
        padding: 20px 18px 18px !important;
        border-radius: 20px !important;
    }

    .swal2-popup.init-modal-size #initVideoContainer video#initVideo {
        height: 200px !important;
    }
}

/* ==========================================================================
   Header Animated Theme Toggle Button (#virtuThemeToggleBtn)
   Modern Sun & Moon Icon Transition with Fluid Rotation & Glow
   ========================================================================== */

.virtu-header-actions .virtu-theme-toggle-btn,
#virtuThemeToggleBtn,
.virtu-theme-toggle-btn {
    position: static !important;
    z-index: 10 !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 9999px !important;
    background: rgba(19, 25, 36, 0.85) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease !important;
    overflow: hidden !important;
}

.virtu-header-actions .virtu-theme-toggle-btn:hover,
#virtuThemeToggleBtn:hover,
.virtu-theme-toggle-btn:hover {
    transform: scale(1.08) !important;
    background: rgba(26, 35, 52, 0.95) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 10px rgba(56, 189, 248, 0.25) !important;
}

.virtu-header-actions .virtu-theme-toggle-btn:active,
#virtuThemeToggleBtn:active,
.virtu-theme-toggle-btn:active {
    transform: scale(0.92) !important;
}

.virtu-theme-icon-wrap {
    position: relative !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
}

.virtu-theme-icon-moon,
.virtu-theme-icon-sun {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-top: -8px !important;
    margin-left: -8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease, color 0.3s ease, filter 0.35s ease !important;
}

/* Dark mode (default): Moon visible, Sun rotated away */
.virtu-theme-icon-moon {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
    color: #94a3b8 !important;
}

#virtuThemeToggleBtn:hover .virtu-theme-icon-moon {
    color: #38bdf8 !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75)) !important;
}

.virtu-theme-icon-sun {
    opacity: 0 !important;
    transform: rotate(90deg) scale(0.2) !important;
    color: #f59e0b !important;
    pointer-events: none !important;
}

/* Light mode state: Sun visible with warm golden glow, Moon rotated away */
body.virtu-light-mode #virtuThemeToggleBtn,
html[data-theme="light"] #virtuThemeToggleBtn,
body.virtu-light-mode .virtu-theme-toggle-btn,
html[data-theme="light"] .virtu-theme-toggle-btn,
#virtuThemeToggleBtn.is-light {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    color: #d97706 !important;
}

body.virtu-light-mode #virtuThemeToggleBtn:hover,
html[data-theme="light"] #virtuThemeToggleBtn:hover,
body.virtu-light-mode .virtu-theme-toggle-btn:hover,
html[data-theme="light"] .virtu-theme-toggle-btn:hover,
#virtuThemeToggleBtn.is-light:hover {
    background: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22) !important;
}

body.virtu-light-mode .virtu-theme-icon-moon,
html[data-theme="light"] .virtu-theme-icon-moon,
#virtuThemeToggleBtn.is-light .virtu-theme-icon-moon {
    opacity: 0 !important;
    transform: rotate(-90deg) scale(0.2) !important;
    pointer-events: none !important;
}

body.virtu-light-mode .virtu-theme-icon-sun,
html[data-theme="light"] .virtu-theme-icon-sun,
#virtuThemeToggleBtn.is-light .virtu-theme-icon-sun {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
    color: #d97706 !important;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.55)) !important;
}

body.virtu-light-mode #virtuThemeToggleBtn:hover .virtu-theme-icon-sun,
html[data-theme="light"] #virtuThemeToggleBtn:hover .virtu-theme-icon-sun,
#virtuThemeToggleBtn.is-light:hover .virtu-theme-icon-sun {
    color: #b45309 !important;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.85)) !important;
    transform: rotate(15deg) scale(1.1) !important;
}

/* ==========================================================================
   Complete VirtuFit Light Mode Theme Overrides
   Activated via body.virtu-light-mode / html[data-theme="light"]
   ========================================================================== */

/* Background canvas */
body.virtu-light-mode,
html[data-theme="light"],
html[data-theme="light"] body {
    background-color: #f1f5f9 !important;
    background-image: radial-gradient(at 0% 0%, rgba(226, 232, 240, 0.7) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(226, 232, 240, 0.7) 0px, transparent 50%) !important;
    color: #0f172a !important;
}

/* Header in Light Mode */
body.virtu-light-mode .virtu-center-header,
html[data-theme="light"] .virtu-center-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode .virtu-meeting-title,
html[data-theme="light"] .virtu-meeting-title {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-brand-icon,
html[data-theme="light"] .virtu-brand-icon {
    background: rgba(5, 150, 105, 0.1) !important;
    color: #059669 !important;
    border: 1px solid rgba(5, 150, 105, 0.2) !important;
}

body.virtu-light-mode .virtu-live-indicator,
html[data-theme="light"] .virtu-live-indicator {
    background: rgba(5, 150, 105, 0.1) !important;
    color: #059669 !important;
    border: 1px solid rgba(5, 150, 105, 0.2) !important;
}

body.virtu-light-mode #virtuPingPill,
html[data-theme="light"] #virtuPingPill {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode #virtuPingPill svg,
html[data-theme="light"] #virtuPingPill svg {
    color: #059669 !important;
    stroke: #059669 !important;
}

/* Main Video Stage Card */
body.virtu-light-mode #virtuMainVideoWrapper,
html[data-theme="light"] #virtuMainVideoWrapper {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
}

/* MiroTalkSFU Top Video Menu Bar inside video container (.videoMenuBar) - Light Mode */
body.virtu-light-mode .videoMenuBar,
html[data-theme="light"] .videoMenuBar,
body.virtu-light-mode .videoMenuBarShare,
html[data-theme="light"] .videoMenuBarShare,
body.virtu-light-mode .videoAvatarMenuBar,
html[data-theme="light"] .videoAvatarMenuBar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .videoMenuBar button,
html[data-theme="light"] .videoMenuBar button,
body.virtu-light-mode .videoMenuBar .navbar-dropdown button,
html[data-theme="light"] .videoMenuBar .navbar-dropdown button,
body.virtu-light-mode .videoMenuBarShare button,
html[data-theme="light"] .videoMenuBarShare button,
body.virtu-light-mode .videoAvatarMenuBar button,
html[data-theme="light"] .videoAvatarMenuBar button {
    color: #1e293b !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode .videoMenuBar button:hover,
html[data-theme="light"] .videoMenuBar button:hover,
body.virtu-light-mode .videoMenuBar .navbar-dropdown button:hover,
html[data-theme="light"] .videoMenuBar .navbar-dropdown button:hover,
body.virtu-light-mode .videoMenuBarShare button:hover,
html[data-theme="light"] .videoMenuBarShare button:hover,
body.virtu-light-mode .videoAvatarMenuBar button:hover,
html[data-theme="light"] .videoAvatarMenuBar button:hover {
    background: rgba(5, 150, 105, 0.15) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
    color: #059669 !important;
}

body.virtu-light-mode .videoMenuBar input[type='range']::-webkit-slider-runnable-track,
html[data-theme="light"] .videoMenuBar input[type='range']::-webkit-slider-runnable-track,
body.virtu-light-mode .navbar-dropdown-content input[type='range']::-webkit-slider-runnable-track,
html[data-theme="light"] .navbar-dropdown-content input[type='range']::-webkit-slider-runnable-track {
    background: rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode .videoMenuBar input[type='range']::-webkit-slider-thumb,
html[data-theme="light"] .videoMenuBar input[type='range']::-webkit-slider-thumb,
body.virtu-light-mode .navbar-dropdown-content input[type='range']::-webkit-slider-thumb,
html[data-theme="light"] .navbar-dropdown-content input[type='range']::-webkit-slider-thumb {
    background: #059669 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 6px rgba(5, 150, 105, 0.5) !important;
}

body.virtu-light-mode .navbar-dropdown-content,
html[data-theme="light"] .navbar-dropdown-content {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode .navbar-dropdown-item,
html[data-theme="light"] .navbar-dropdown-item {
    color: #1e293b !important;
}

body.virtu-light-mode .navbar-dropdown-item:hover,
html[data-theme="light"] .navbar-dropdown-item:hover {
    background: rgba(5, 150, 105, 0.1) !important;
    color: #059669 !important;
}

body.virtu-light-mode .avatar-session-timer,
html[data-theme="light"] .avatar-session-timer {
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* Top participant video thumbnails */
body.virtu-light-mode #videoMediaContainer .Camera,
html[data-theme="light"] #videoMediaContainer .Camera {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

/* Left Dock Group (User Pill & Volume Pill) */
body.virtu-light-mode #virtuUserPill,
html[data-theme="light"] #virtuUserPill {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #virtuUserPill:hover,
html[data-theme="light"] #virtuUserPill:hover {
    background: #ffffff !important;
    border-color: rgba(5, 150, 105, 0.4) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 0 10px rgba(5, 150, 105, 0.15) !important;
}

body.virtu-light-mode .virtu-user-name,
html[data-theme="light"] .virtu-user-name {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-user-role,
html[data-theme="light"] .virtu-user-role {
    color: #64748b !important;
}

/* Specificity override for Volume Section */
body.virtu-light-mode #virtuDockLeftGroup #barVolumeSection,
body.virtu-light-mode #virtuMainVideoWrapper #barVolumeSection,
body.virtu-light-mode #barVolumeSection,
html[data-theme="light"] #virtuDockLeftGroup #barVolumeSection,
html[data-theme="light"] #virtuMainVideoWrapper #barVolumeSection,
html[data-theme="light"] #barVolumeSection {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #virtuDockLeftGroup #barVolumeSection:hover,
body.virtu-light-mode #barVolumeSection:hover,
html[data-theme="light"] #virtuDockLeftGroup #barVolumeSection:hover,
html[data-theme="light"] #barVolumeSection:hover {
    background: #ffffff !important;
    border-color: rgba(5, 150, 105, 0.4) !important;
}

body.virtu-light-mode #barVolumeSection #barVolumeBtn,
html[data-theme="light"] #barVolumeSection #barVolumeBtn {
    color: #1e293b !important;
}

body.virtu-light-mode #barVolumeSection #barVolumeBtn svg,
html[data-theme="light"] #barVolumeSection #barVolumeBtn svg {
    color: #1e293b !important;
    stroke: #1e293b !important;
    fill: none !important;
}

body.virtu-light-mode #barVolumeSection #barVolumeSlider,
html[data-theme="light"] #barVolumeSection #barVolumeSlider {
    background: rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode #barVolumeSection #barVolumeSlider::-webkit-slider-thumb,
html[data-theme="light"] #barVolumeSection #barVolumeSlider::-webkit-slider-thumb {
    background: #059669 !important;
}

/* ==========================================================================
   FLOATING BOTTOM CONTROLS DOCK OVER VIDEO - Solid Crisp Cards with Dark Icons
   ========================================================================== */
body.virtu-light-mode #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle),
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle),
html[data-theme="light"] #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle),
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle) {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

body.virtu-light-mode #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle):hover,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle):hover,
html[data-theme="light"] #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle):hover,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#barVolumeBtn):not(#exitLeaveBtn):not(#exitLeaveAllBtn):not(.virtu-exit-btn):not(.dropdown-item):not(.virtu-menu-item):not(.device-dropdown-toggle):hover {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

/* High-contrast dark icons inside floating dock buttons in Light Mode */
body.virtu-light-mode #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) svg,
body.virtu-light-mode #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) i,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) i,
html[data-theme="light"] #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) svg,
html[data-theme="light"] #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) i,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons button:not(#exitButton):not(#stopScreenButton):not(#stopRecButton) i {
    color: #1e293b !important;
}

/* High-contrast dark icons inside floating dock buttons */
body.virtu-light-mode #bottomButtons #stopAudioButton svg,
body.virtu-light-mode #bottomButtons #stopVideoButton svg,
body.virtu-light-mode #bottomButtons #settingsButton svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #stopAudioButton svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #stopVideoButton svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #settingsButton svg,
html[data-theme="light"] #bottomButtons #stopAudioButton svg,
html[data-theme="light"] #bottomButtons #stopVideoButton svg,
html[data-theme="light"] #bottomButtons #settingsButton svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #stopAudioButton svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #stopVideoButton svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #settingsButton svg {
    color: #1e293b !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Soft Red Pill Circle when Mic is Muted or Camera is OFF */
body.virtu-light-mode #bottomButtons #startAudioButton,
body.virtu-light-mode #bottomButtons #startVideoButton,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startAudioButton,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startVideoButton,
html[data-theme="light"] #bottomButtons #startAudioButton,
html[data-theme="light"] #bottomButtons #startVideoButton,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startAudioButton,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startVideoButton {
    background: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.18) !important;
}

body.virtu-light-mode #bottomButtons #startAudioButton svg,
body.virtu-light-mode #bottomButtons #startVideoButton svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startAudioButton svg,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #startVideoButton svg,
html[data-theme="light"] #bottomButtons #startAudioButton svg,
html[data-theme="light"] #bottomButtons #startVideoButton svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startAudioButton svg,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #startVideoButton svg {
    color: #ef4444 !important;
    stroke: #ef4444 !important;
    fill: none !important;
}

/* CC badge inside dock in Light Mode */
body.virtu-light-mode #bottomButtons #transcriptionButton .virtu-dock-cc,
html[data-theme="light"] #bottomButtons #transcriptionButton .virtu-dock-cc,
body.virtu-light-mode .virtu-dock-cc,
html[data-theme="light"] .virtu-dock-cc {
    color: #1e293b !important;
    border: 1.5px solid #1e293b !important;
}

body.virtu-light-mode #bottomButtons #transcriptionButton.active,
html[data-theme="light"] #bottomButtons #transcriptionButton.active {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
    color: #059669 !important;
}

body.virtu-light-mode #bottomButtons #transcriptionButton.active .virtu-dock-cc,
html[data-theme="light"] #bottomButtons #transcriptionButton.active .virtu-dock-cc {
    color: #059669 !important;
    border-color: #059669 !important;
}

/* Footer Bottom Layout Bar */
body.virtu-light-mode .virtu-bottom-layout-bar,
html[data-theme="light"] .virtu-bottom-layout-bar {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.virtu-light-mode .virtu-layout-btn,
html[data-theme="light"] .virtu-layout-btn {
    color: #64748b !important;
}

body.virtu-light-mode .virtu-layout-btn:hover,
html[data-theme="light"] .virtu-layout-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-layout-btn.active,
html[data-theme="light"] .virtu-layout-btn.active {
    background: #f1f5f9 !important;
    color: #059669 !important;
}

body.virtu-light-mode .virtu-layout-btn.active svg,
html[data-theme="light"] .virtu-layout-btn.active svg {
    color: #059669 !important;
}

body.virtu-light-mode .virtu-participants-label-btn,
html[data-theme="light"] .virtu-participants-label-btn {
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-avatar-extra,
html[data-theme="light"] .virtu-avatar-extra {
    background: #e2e8f0 !important;
    color: #475569 !important;
    border-color: #ffffff !important;
}

body.virtu-light-mode .virtu-avatar-item,
html[data-theme="light"] .virtu-avatar-item {
    border-color: #ffffff !important;
}

body.virtu-light-mode .virtu-floor-divider,
html[data-theme="light"] .virtu-floor-divider {
    background: rgba(0, 0, 0, 0.1) !important;
}

body.virtu-light-mode .virtu-floor-emoji-btn,
html[data-theme="light"] .virtu-floor-emoji-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.virtu-light-mode .virtu-floor-emoji-btn:hover,
html[data-theme="light"] .virtu-floor-emoji-btn:hover {
    background: #e2e8f0 !important;
    color: #ca8a04 !important;
    border-color: #facc15 !important;
}

body.virtu-light-mode .virtu-floor-emoji-btn.active,
html[data-theme="light"] .virtu-floor-emoji-btn.active {
    background: #fef08a !important;
    border-color: #eab308 !important;
    color: #a16207 !important;
}

body.virtu-light-mode .virtu-floor-emoji-btn.virtu-emoji-animated,
html[data-theme="light"] .virtu-floor-emoji-btn.virtu-emoji-animated {
    border-color: #eab308 !important;
    background: #fef9c3 !important;
    color: #a16207 !important;
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.3), 0 4px 14px rgba(234, 179, 8, 0.3) !important;
}

body.virtu-light-mode .virtu-floor-emoji-btn.virtu-emoji-animated svg,
html[data-theme="light"] .virtu-floor-emoji-btn.virtu-emoji-animated svg {
    color: #ca8a04 !important;
}

body.virtu-light-mode .roomEmoji,
html[data-theme="light"] .roomEmoji {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

body.virtu-light-mode .room-emoji-header,
html[data-theme="light"] .room-emoji-header {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.virtu-light-mode .room-emoji-title,
html[data-theme="light"] .room-emoji-title {
    color: #0f172a !important;
}

body.virtu-light-mode .room-emoji-close-btn,
html[data-theme="light"] .room-emoji-close-btn {
    color: #64748b !important;
}

body.virtu-light-mode .virtu-share-link-text,
html[data-theme="light"] .virtu-share-link-text {
    color: #334155 !important;
}

body.virtu-light-mode .virtu-share-link-icon,
html[data-theme="light"] .virtu-share-link-icon {
    color: #64748b !important;
}

body.virtu-light-mode .virtu-share-link-card:hover,
html[data-theme="light"] .virtu-share-link-card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(5, 150, 105, 0.35) !important;
}

/* ==========================================================================
   3-DOTS MORE OPTIONS MENU (#settingsExtraMenu) - Crisp Readable Light Mode
   ========================================================================== */
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu,
body.virtu-light-mode #virtuDockRightGroup #settingsSplit #settingsExtraMenu,
html.virtu-light-mode #virtuDockRightGroup #settingsSplit #settingsExtraMenu,
html[data-theme="light"] #virtuDockRightGroup #settingsSplit #settingsExtraMenu,
body.virtu-light-mode .virtu-dock-right-group #settingsExtraMenu,
html.virtu-light-mode .virtu-dock-right-group #settingsExtraMenu,
html[data-theme="light"] .virtu-dock-right-group #settingsExtraMenu,
body.virtu-light-mode #virtuCenterStage #bottomButtons #settingsExtraMenu,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #settingsExtraMenu,
body.virtu-light-mode #bottomButtons #settingsExtraMenu,
body.virtu-light-mode #settingsExtraMenu,
body.virtu-light-mode .virtu-more-options-menu,
html.virtu-light-mode #settingsExtraMenu,
html.virtu-light-mode .virtu-more-options-menu,
html[data-theme="light"] #virtuCenterStage #bottomButtons #settingsExtraMenu,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #settingsExtraMenu,
html[data-theme="light"] #bottomButtons #settingsExtraMenu,
html[data-theme="light"] #settingsExtraMenu,
html[data-theme="light"] .virtu-more-options-menu {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .virtu-menu-top-bar,
html.virtu-light-mode .virtu-menu-top-bar,
html[data-theme="light"] .virtu-menu-top-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode .virtu-menu-title,
html.virtu-light-mode .virtu-menu-title,
html[data-theme="light"] .virtu-menu-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn,
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn,
body.virtu-light-mode #settingsExtraMenu #virtuMenuCloseBtn,
html.virtu-light-mode #settingsExtraMenu #virtuMenuCloseBtn,
html[data-theme="light"] #settingsExtraMenu #virtuMenuCloseBtn,
body.virtu-light-mode .virtu-menu-close-btn,
html.virtu-light-mode .virtu-menu-close-btn,
html[data-theme="light"] .virtu-menu-close-btn {
    color: #64748b !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn:hover,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn:hover,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu #virtuMenuCloseBtn:hover,
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn:hover,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn:hover,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-close-btn:hover,
body.virtu-light-mode #settingsExtraMenu #virtuMenuCloseBtn:hover,
html.virtu-light-mode #settingsExtraMenu #virtuMenuCloseBtn:hover,
html[data-theme="light"] #settingsExtraMenu #virtuMenuCloseBtn:hover,
body.virtu-light-mode .virtu-menu-close-btn:hover,
html.virtu-light-mode .virtu-menu-close-btn:hover,
html[data-theme="light"] .virtu-menu-close-btn:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

body.virtu-light-mode .virtu-menu-section-header,
html.virtu-light-mode .virtu-menu-section-header,
html[data-theme="light"] .virtu-menu-section-header {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.virtu-light-mode .virtu-menu-divider,
html.virtu-light-mode .virtu-menu-divider,
html[data-theme="light"] .virtu-menu-divider {
    background: rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn),
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn),
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn),
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item,
body.virtu-light-mode #settingsExtraMenu button:not(.virtu-menu-close-btn),
html.virtu-light-mode #settingsExtraMenu button:not(.virtu-menu-close-btn),
html[data-theme="light"] #settingsExtraMenu button:not(.virtu-menu-close-btn),
body.virtu-light-mode .virtu-menu-item,
html.virtu-light-mode .virtu-menu-item,
html[data-theme="light"] .virtu-menu-item {
    color: #1e293b !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover,
body.virtu-light-mode #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
html.virtu-light-mode #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
html[data-theme="light"] #settingsExtraMenu button:not(.virtu-menu-close-btn):hover,
body.virtu-light-mode .virtu-menu-item:hover,
html.virtu-light-mode .virtu-menu-item:hover,
html[data-theme="light"] .virtu-menu-item:hover {
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.04) !important;
    color: #059669 !important;
}

/* Crucial Fix: Override off-white label text inside 3-dots menu */
body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-label,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-label,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-label,
body.virtu-light-mode #settingsExtraMenu .virtu-menu-label,
body.virtu-light-mode #bottomButtons #settingsExtraMenu .virtu-menu-label,
html.virtu-light-mode #settingsExtraMenu .virtu-menu-label,
html[data-theme="light"] #settingsExtraMenu .virtu-menu-label,
html[data-theme="light"] #bottomButtons #settingsExtraMenu .virtu-menu-label {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
html.virtu-light-mode #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
html[data-theme="light"] #virtuDockRightGroup #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
body.virtu-light-mode #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
body.virtu-light-mode #bottomButtons #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
html.virtu-light-mode #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
html[data-theme="light"] #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label,
html[data-theme="light"] #bottomButtons #settingsExtraMenu .virtu-menu-item:hover .virtu-menu-label {
    color: #059669 !important;
}

body.virtu-light-mode #settingsExtraMenu .virtu-menu-icon,
html.virtu-light-mode #settingsExtraMenu .virtu-menu-icon,
html[data-theme="light"] #settingsExtraMenu .virtu-menu-icon {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #settingsExtraMenu::-webkit-scrollbar-thumb,
html.virtu-light-mode #settingsExtraMenu::-webkit-scrollbar-thumb,
html[data-theme="light"] #settingsExtraMenu::-webkit-scrollbar-thumb,
body.virtu-light-mode .virtu-more-options-menu::-webkit-scrollbar-thumb,
html.virtu-light-mode .virtu-more-options-menu::-webkit-scrollbar-thumb,
html[data-theme="light"] .virtu-more-options-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.16) !important;
}

body.virtu-light-mode #settingsExtraMenu::-webkit-scrollbar-thumb:hover,
html.virtu-light-mode #settingsExtraMenu::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] #settingsExtraMenu::-webkit-scrollbar-thumb:hover,
body.virtu-light-mode .virtu-more-options-menu::-webkit-scrollbar-thumb:hover,
html.virtu-light-mode .virtu-more-options-menu::-webkit-scrollbar-thumb:hover,
html[data-theme="light"] .virtu-more-options-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3) !important;
}

/* =========================================================================
   ALL SETTINGS PAGES (#mySettings) - Ultra Modern Solid White Light Theme
   ========================================================================= */

/* Main Settings Dialog Container */
body.virtu-light-mode #mySettings,
html[data-theme="light"] #mySettings {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

body.virtu-light-mode #mySettingsHeader,
html[data-theme="light"] #mySettingsHeader {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

body.virtu-light-mode #mySettingsCloseBtn,
html[data-theme="light"] #mySettingsCloseBtn {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
}

body.virtu-light-mode #mySettingsCloseBtn:hover,
html[data-theme="light"] #mySettingsCloseBtn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

/* Settings Left Sidebar */
body.virtu-light-mode #mySettingsNav,
html[data-theme="light"] #mySettingsNav {
    background: #f8fafc !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode .settings-nav-label,
html[data-theme="light"] .settings-nav-label {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.virtu-light-mode #mySettingsNav.tab button,
body.virtu-light-mode #mySettingsNav button.tablinks,
html[data-theme="light"] #mySettingsNav.tab button,
html[data-theme="light"] #mySettingsNav button.tablinks {
    color: #475569 !important;
    background: transparent !important;
}

body.virtu-light-mode #mySettingsNav.tab button:hover,
body.virtu-light-mode #mySettingsNav button.tablinks:hover,
html[data-theme="light"] #mySettingsNav.tab button:hover,
html[data-theme="light"] #mySettingsNav button.tablinks:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #mySettingsNav button.tablinks p,
body.virtu-light-mode #mySettingsNav .tabButtonText,
html[data-theme="light"] #mySettingsNav button.tablinks p,
html[data-theme="light"] #mySettingsNav .tabButtonText {
    color: #475569 !important;
}

body.virtu-light-mode #mySettingsNav button.tablinks::before,
html[data-theme="light"] #mySettingsNav button.tablinks::before {
    color: #64748b !important;
}

body.virtu-light-mode #mySettingsNav.tab button:hover,
body.virtu-light-mode #mySettingsNav button.tablinks:hover,
html[data-theme="light"] #mySettingsNav.tab button:hover,
html[data-theme="light"] #mySettingsNav button.tablinks:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #mySettingsNav button.tablinks:hover p,
body.virtu-light-mode #mySettingsNav button.tablinks:hover .tabButtonText,
html[data-theme="light"] #mySettingsNav button.tablinks:hover p,
html[data-theme="light"] #mySettingsNav button.tablinks:hover .tabButtonText {
    color: #0f172a !important;
}

body.virtu-light-mode #mySettingsNav.tab button.active,
body.virtu-light-mode #mySettingsNav button.tablinks.active,
html[data-theme="light"] #mySettingsNav.tab button.active,
html[data-theme="light"] #mySettingsNav button.tablinks.active {
    background: #ecfdf5 !important;
    border: 1px solid rgba(5, 150, 105, 0.35) !important;
    color: #065f46 !important;
    font-weight: 700 !important;
}

body.virtu-light-mode #mySettingsNav button.tablinks.active p,
body.virtu-light-mode #mySettingsNav button.tablinks.active .tabButtonText,
html[data-theme="light"] #mySettingsNav button.tablinks.active p,
html[data-theme="light"] #mySettingsNav button.tablinks.active .tabButtonText {
    color: #065f46 !important;
    font-weight: 700 !important;
}

body.virtu-light-mode #mySettingsNav button.tablinks.active::before,
html[data-theme="light"] #mySettingsNav button.tablinks.active::before {
    color: #059669 !important;
}

/* Settings Content Panel (.tabActions) */
body.virtu-light-mode #mySettings .tabActions,
html[data-theme="light"] #mySettings .tabActions {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode .settings-section-intro,
html[data-theme="light"] .settings-section-intro {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: #f8fafc !important;
}

body.virtu-light-mode .settings-section-intro h3,
body.virtu-light-mode #mySettings .settings-section-intro h3,
html[data-theme="light"] .settings-section-intro h3,
html[data-theme="light"] #mySettings .settings-section-intro h3 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.virtu-light-mode #mySettings .settings-section-intro p,
html[data-theme="light"] #mySettings .settings-section-intro p {
    color: #64748b !important;
}

body.virtu-light-mode #mySettings hr,
html[data-theme="light"] #mySettings hr {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* Room Tab Elements */
body.virtu-light-mode .settingsTable tr.room-id-row,
html[data-theme="light"] .settingsTable tr.room-id-row {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #mySettings #roomId,
html[data-theme="light"] #mySettings #roomId {
    color: #059669 !important;
}

body.virtu-light-mode #mySettings #copyRoomUrlBtn,
body.virtu-light-mode #mySettings .settings-icon-btn,
html[data-theme="light"] #mySettings #copyRoomUrlBtn,
html[data-theme="light"] #mySettings .settings-icon-btn {
    background: rgba(5, 150, 105, 0.1) !important;
    border-color: rgba(5, 150, 105, 0.25) !important;
    color: #059669 !important;
}

body.virtu-light-mode #tabRoom .room-action-grid .room-action-card,
body.virtu-light-mode #mySettings .room-action-card,
html[data-theme="light"] #tabRoom .room-action-grid .room-action-card,
html[data-theme="light"] #mySettings .room-action-card {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}

body.virtu-light-mode #tabRoom .room-action-grid .room-action-card:hover,
body.virtu-light-mode #mySettings .room-action-card:hover,
html[data-theme="light"] #tabRoom .room-action-grid .room-action-card:hover,
html[data-theme="light"] #mySettings .room-action-card:hover {
    background: #f1f5f9 !important;
    border-color: rgba(5, 150, 105, 0.4) !important;
}

/* Settings Tables across All Tabs in Light Mode (.settingsTable & #shortcutsTable) */
body.virtu-light-mode .settingsTable,
body.virtu-light-mode #mySettings .settingsTable,
body.virtu-light-mode #shortcutsTable,
body.virtu-light-mode #mySettings #shortcutsTable,
html[data-theme="light"] .settingsTable,
html[data-theme="light"] #mySettings .settingsTable,
html[data-theme="light"] #shortcutsTable,
html[data-theme="light"] #mySettings #shortcutsTable {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    color: #0f172a !important;
}

body.virtu-light-mode .settingsTable tr,
body.virtu-light-mode #mySettings .settingsTable tr,
body.virtu-light-mode #shortcutsTable tr,
body.virtu-light-mode #mySettings #shortcutsTable tr,
html[data-theme="light"] .settingsTable tr,
html[data-theme="light"] #mySettings .settingsTable tr,
html[data-theme="light"] #shortcutsTable tr,
html[data-theme="light"] #mySettings #shortcutsTable tr {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: background-color 0.15s ease !important;
}

body.virtu-light-mode .settingsTable tr:hover,
body.virtu-light-mode #mySettings .settingsTable tr:hover,
body.virtu-light-mode #shortcutsTable tr:hover,
body.virtu-light-mode #mySettings #shortcutsTable tr:hover,
html[data-theme="light"] .settingsTable tr:hover,
html[data-theme="light"] #mySettings .settingsTable tr:hover,
html[data-theme="light"] #shortcutsTable tr:hover,
html[data-theme="light"] #mySettings #shortcutsTable tr:hover {
    background: #f8fafc !important;
}

body.virtu-light-mode .settingsTable td,
body.virtu-light-mode .settingsTable th,
body.virtu-light-mode #mySettings .settingsTable td,
body.virtu-light-mode #mySettings .settingsTable th,
body.virtu-light-mode #shortcutsTable td,
body.virtu-light-mode #shortcutsTable th,
html[data-theme="light"] .settingsTable td,
html[data-theme="light"] .settingsTable th,
html[data-theme="light"] #mySettings .settingsTable td,
html[data-theme="light"] #mySettings .settingsTable th,
html[data-theme="light"] #shortcutsTable td,
html[data-theme="light"] #shortcutsTable th {
    color: #1e293b !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: transparent !important;
}

/* Universal text colors inside #mySettings across all tabs (Moderator, Audio, Video, Recording, SIP, etc.) */
body.virtu-light-mode #mySettings .tabcontent p,
body.virtu-light-mode #mySettings .tabcontent label,
body.virtu-light-mode #mySettings .tabcontent span:not(.badge),
body.virtu-light-mode #mySettings .settingsTable p,
body.virtu-light-mode #mySettings #shortcutsTable p,
html[data-theme="light"] #mySettings .tabcontent p,
html[data-theme="light"] #mySettings .tabcontent label,
html[data-theme="light"] #mySettings .tabcontent span:not(.badge),
html[data-theme="light"] #mySettings .settingsTable p,
html[data-theme="light"] #mySettings #shortcutsTable p {
    color: #1e293b !important;
}

body.virtu-light-mode #mySettings .tabcontent .title,
body.virtu-light-mode #mySettings .settingsTable .title,
html[data-theme="light"] #mySettings .tabcontent .title,
html[data-theme="light"] #mySettings .settingsTable .title {
    color: #0f172a !important;
}

body.virtu-light-mode #mySettings .tabcontent .title p,
body.virtu-light-mode #mySettings .settingsTable .title p,
html[data-theme="light"] #mySettings .tabcontent .title p,
html[data-theme="light"] #mySettings .settingsTable .title p {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.virtu-light-mode #mySettings .tabcontent .title i,
body.virtu-light-mode #mySettings .settingsTable .title i,
html[data-theme="light"] #mySettings .tabcontent .title i,
html[data-theme="light"] #mySettings .settingsTable .title i {
    color: #059669 !important;
}

body.virtu-light-mode #mySettings .settingsTable td:last-child>p,
html[data-theme="light"] #mySettings .settingsTable td:last-child>p {
    color: #334155 !important;
}

body.virtu-light-mode .settings-option-copy strong,
html[data-theme="light"] .settings-option-copy strong {
    color: #0f172a !important;
}

body.virtu-light-mode .settings-option-copy small,
html[data-theme="light"] .settings-option-copy small {
    color: #64748b !important;
}

body.virtu-light-mode #mySettings .tabcontent details summary,
html[data-theme="light"] #mySettings .tabcontent details summary {
    color: #0f172a !important;
    cursor: pointer !important;
}

/* Action buttons inside settings tabs */
body.virtu-light-mode #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn),
html[data-theme="light"] #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn) {
    background: #059669 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25) !important;
}

body.virtu-light-mode #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn) p,
body.virtu-light-mode #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn) i,
html[data-theme="light"] #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn) p,
html[data-theme="light"] #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn) i {
    color: #ffffff !important;
}

body.virtu-light-mode #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn):hover,
html[data-theme="light"] #mySettings .tabcontent button:not(.tablinks):not(#myProfileAvatarResetBtn):hover {
    background: #047857 !important;
}

/* Form Switches across All Setting Pages */
body.virtu-light-mode #mySettings .form-switch .form-check-input,
html[data-theme="light"] #mySettings .form-switch .form-check-input {
    background-color: #cbd5e1 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode #mySettings .form-switch .form-check-input:checked,
html[data-theme="light"] #mySettings .form-switch .form-check-input:checked {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

/* Select Dropdowns and Inputs across All Setting Pages */
body.virtu-light-mode #mySettings select,
body.virtu-light-mode #mySettings .form-select,
body.virtu-light-mode #mySettings input[type="text"],
body.virtu-light-mode #mySettings input[type="password"],
html[data-theme="light"] #mySettings select,
html[data-theme="light"] #mySettings .form-select,
html[data-theme="light"] #mySettings input[type="text"],
html[data-theme="light"] #mySettings input[type="password"] {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #mySettings select:focus,
body.virtu-light-mode #mySettings .form-select:focus,
body.virtu-light-mode #mySettings input[type="text"]:focus,
body.virtu-light-mode #mySettings input[type="password"]:focus,
html[data-theme="light"] #mySettings select:focus,
html[data-theme="light"] #mySettings .form-select:focus,
html[data-theme="light"] #mySettings input[type="text"]:focus,
html[data-theme="light"] #mySettings input[type="password"]:focus {
    background-color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

body.virtu-light-mode #mySettings select option,
html[data-theme="light"] #mySettings select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Profile Tab in Light Mode */
body.virtu-light-mode #myProfileAvatarControls,
html.virtu-light-mode #myProfileAvatarControls,
[data-theme="light"] #myProfileAvatarControls {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    gap: 16px !important;
}

body.virtu-light-mode #myProfileAvatar,
html.virtu-light-mode #myProfileAvatar,
[data-theme="light"] #myProfileAvatar {
    border: 2.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode #myProfileAvatarFileBtn,
html.virtu-light-mode #myProfileAvatarFileBtn,
body.virtu-light-mode #tabProfile #myProfileAvatarFileBtn,
html.virtu-light-mode #tabProfile #myProfileAvatarFileBtn,
[data-theme="light"] #myProfileAvatarFileBtn,
[data-theme="light"] #tabProfile #myProfileAvatarFileBtn {
    background: #059669 !important;
    border: 1px solid #059669 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
}

body.virtu-light-mode #myProfileAvatarFileBtn:hover,
html.virtu-light-mode #myProfileAvatarFileBtn:hover,
body.virtu-light-mode #tabProfile #myProfileAvatarFileBtn:hover,
html.virtu-light-mode #tabProfile #myProfileAvatarFileBtn:hover,
[data-theme="light"] #myProfileAvatarFileBtn:hover,
[data-theme="light"] #tabProfile #myProfileAvatarFileBtn:hover {
    background: #047857 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35) !important;
}

body.virtu-light-mode #myProfileAvatarUploadBtn,
html.virtu-light-mode #myProfileAvatarUploadBtn,
body.virtu-light-mode #tabProfile #myProfileAvatarUploadBtn,
html.virtu-light-mode #tabProfile #myProfileAvatarUploadBtn,
[data-theme="light"] #myProfileAvatarUploadBtn,
[data-theme="light"] #tabProfile #myProfileAvatarUploadBtn {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

body.virtu-light-mode #myProfileAvatarUploadBtn:hover,
html.virtu-light-mode #myProfileAvatarUploadBtn:hover,
body.virtu-light-mode #tabProfile #myProfileAvatarUploadBtn:hover,
html.virtu-light-mode #tabProfile #myProfileAvatarUploadBtn:hover,
[data-theme="light"] #myProfileAvatarUploadBtn:hover,
[data-theme="light"] #tabProfile #myProfileAvatarUploadBtn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #tabProfile .avatar-size-hint,
html.virtu-light-mode #tabProfile .avatar-size-hint,
[data-theme="light"] #tabProfile .avatar-size-hint {
    color: #64748b !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

body.virtu-light-mode #myProfileAvatarResetBtn,
html.virtu-light-mode #myProfileAvatarResetBtn,
body.virtu-light-mode #mySettings #myProfileAvatarResetBtn,
html.virtu-light-mode #mySettings #myProfileAvatarResetBtn,
[data-theme="light"] #myProfileAvatarResetBtn,
[data-theme="light"] #mySettings #myProfileAvatarResetBtn {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

body.virtu-light-mode #myProfileAvatarResetBtn i,
html.virtu-light-mode #myProfileAvatarResetBtn i,
[data-theme="light"] #myProfileAvatarResetBtn i {
    color: #059669 !important;
}

body.virtu-light-mode #myProfileAvatarResetBtn:hover,
html.virtu-light-mode #myProfileAvatarResetBtn:hover,
[data-theme="light"] #myProfileAvatarResetBtn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}

/* Username and Presenter in Profile Tab (High Specificity to override dark rules) */
body.virtu-light-mode #tabProfile #shortcutsTable .title>p#userName,
body.virtu-light-mode #tabProfile #shortcutsTable .title>p#isUserPresenter,
body.virtu-light-mode #tabProfile #userName,
body.virtu-light-mode #tabProfile #isUserPresenter,
html.virtu-light-mode #tabProfile #shortcutsTable .title>p#userName,
html.virtu-light-mode #tabProfile #shortcutsTable .title>p#isUserPresenter,
html.virtu-light-mode #tabProfile #userName,
html.virtu-light-mode #tabProfile #isUserPresenter,
[data-theme="light"] #tabProfile #shortcutsTable .title>p#userName,
[data-theme="light"] #tabProfile #shortcutsTable .title>p#isUserPresenter,
[data-theme="light"] #tabProfile #userName,
[data-theme="light"] #tabProfile #isUserPresenter {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #ecfdf5 !important;
    border: 1px solid rgba(5, 150, 105, 0.25) !important;
    border-radius: 6px !important;
    color: #059669 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Profile Tab Extra Info Section & Rows */
body.virtu-light-mode #tabProfile #extraInfo,
html.virtu-light-mode #tabProfile #extraInfo,
[data-theme="light"] #tabProfile #extraInfo {
    color: #334155 !important;
    background: transparent !important;
    border: none !important;
}

body.virtu-light-mode #tabProfile #extraInfo p,
html.virtu-light-mode #tabProfile #extraInfo p,
[data-theme="light"] #tabProfile #extraInfo p {
    color: #64748b !important;
}

body.virtu-light-mode .extra-info-row,
body.virtu-light-mode #tabProfile .extra-info-row,
html.virtu-light-mode .extra-info-row,
html.virtu-light-mode #tabProfile .extra-info-row,
[data-theme="light"] .extra-info-row,
[data-theme="light"] #tabProfile .extra-info-row {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    padding: 8px 12px !important;
}

body.virtu-light-mode .extra-info-label,
body.virtu-light-mode #tabProfile .extra-info-label,
html.virtu-light-mode .extra-info-label,
html.virtu-light-mode #tabProfile .extra-info-label,
[data-theme="light"] .extra-info-label,
[data-theme="light"] #tabProfile .extra-info-label {
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

body.virtu-light-mode .extra-info-label i,
body.virtu-light-mode .extra-info-icon,
html.virtu-light-mode .extra-info-label i,
html.virtu-light-mode .extra-info-icon,
[data-theme="light"] .extra-info-label i,
[data-theme="light"] .extra-info-icon {
    color: #059669 !important;
    font-size: 14px !important;
}

body.virtu-light-mode .extra-info-badge,
body.virtu-light-mode #tabProfile .extra-info-badge,
html.virtu-light-mode .extra-info-badge,
html.virtu-light-mode #tabProfile .extra-info-badge,
[data-theme="light"] .extra-info-badge,
[data-theme="light"] #tabProfile .extra-info-badge {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
}

/* User Pill cursor and hover interactive styling */
.virtu-user-pill {
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.virtu-user-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(5, 150, 105, 0.45) !important;
}

.virtu-user-pill:active {
    transform: translateY(0);
}

.virtu-user-avatar-wrap {
    cursor: pointer !important;
}

body.virtu-light-mode #tabProfile #extraInfo p,
html[data-theme="light"] #tabProfile #extraInfo p {
    color: #64748b !important;
}

/* Shortcuts Tab in Light Mode - Crisp Modern Keycaps */
body.virtu-light-mode #tabShortcuts #shortcutsTable,
html[data-theme="light"] #tabShortcuts #shortcutsTable {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #tabShortcuts #shortcutsTable thead th,
html[data-theme="light"] #tabShortcuts #shortcutsTable thead th {
    color: #64748b !important;
    background: #f8fafc !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #tabShortcuts #shortcutsTable tbody tr+tr td,
html[data-theme="light"] #tabShortcuts #shortcutsTable tbody tr+tr td {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode #tabShortcuts #shortcutsTable tbody td,
html[data-theme="light"] #tabShortcuts #shortcutsTable tbody td {
    color: #1e293b !important;
}

body.virtu-light-mode #tabShortcuts #shortcutsTable tbody td:nth-child(1) i,
html[data-theme="light"] #tabShortcuts #shortcutsTable tbody td:nth-child(1) i {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 0 #cbd5e1, 0 3px 6px rgba(0, 0, 0, 0.06) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

/* =========================================================================
   PUBLIC CHAT PANEL (#chatRoom) & DROPDOWN - High Specificity Light Theme
   ========================================================================= */
body.virtu-light-mode #chatRoom,
body.virtu-light-mode body>#chatRoom,
body.virtu-light-mode #virtuAppContainer #chatRoom,
body.virtu-light-mode #virtuLayoutWrapper #chatRoom,
body.virtu-light-mode #virtuCenterStage #chatRoom,
body.virtu-light-mode #virtuMiddleStage #chatRoom,
body.virtu-light-mode section#chatRoom,
html[data-theme="light"] #chatRoom,
html[data-theme="light"] body>#chatRoom,
html[data-theme="light"] #virtuAppContainer #chatRoom,
html[data-theme="light"] #virtuLayoutWrapper #chatRoom,
html[data-theme="light"] #virtuCenterStage #chatRoom,
html[data-theme="light"] #virtuMiddleStage #chatRoom,
html[data-theme="light"] section#chatRoom {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.06) !important;
    color: #0f172a !important;
}

/* Chat Header */
body.virtu-light-mode #chatRoom #chatHeader,
html[data-theme="light"] #chatRoom #chatHeader {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 10px 14px !important;
}

body.virtu-light-mode #chatRoom .chat-about h6,
body.virtu-light-mode #chatRoom #chatAbout h6,
body.virtu-light-mode #chatRoom .chat-header-title h6,
body.virtu-light-mode #chatRoom #chatHeaderTitle,
html[data-theme="light"] #chatRoom .chat-about h6,
html[data-theme="light"] #chatRoom #chatAbout h6,
html[data-theme="light"] #chatRoom .chat-header-title h6,
html[data-theme="light"] #chatRoom #chatHeaderTitle {
    color: #0f172a !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

body.virtu-light-mode #chatRoom #chatAbout img,
html[data-theme="light"] #chatRoom #chatAbout img {
    border: 1.5px solid rgba(5, 150, 105, 0.45) !important;
    background: rgba(5, 150, 105, 0.1) !important;
    padding: 2px !important;
    border-radius: 50% !important;
}

/* Chat Header Action Buttons (Menu & Close) in Light Mode */
body.virtu-light-mode #chatRoom #chatDropDownMenu,
body.virtu-light-mode #chatRoom .chat-tool-group>button,
body.virtu-light-mode #chatRoom .chat-tool-group>.dropdown>button,
html[data-theme="light"] #chatRoom #chatDropDownMenu,
html[data-theme="light"] #chatRoom .chat-tool-group>button,
html[data-theme="light"] #chatRoom .chat-tool-group>.dropdown>button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

body.virtu-light-mode #chatRoom #chatDropDownMenu:hover,
body.virtu-light-mode #chatRoom .chat-tool-group>button:hover,
body.virtu-light-mode #chatRoom .chat-tool-group>.dropdown>button:hover,
html[data-theme="light"] #chatRoom #chatDropDownMenu:hover,
html[data-theme="light"] #chatRoom .chat-tool-group>button:hover,
html[data-theme="light"] #chatRoom .chat-tool-group>.dropdown>button:hover {
    background: #f1f5f9 !important;
    border-color: #059669 !important;
    color: #059669 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15) !important;
    transform: translateY(-1px) !important;
}

body.virtu-light-mode #chatRoom #chatCloseButton,
body.virtu-light-mode #chatRoom #chatCloseBtn,
html[data-theme="light"] #chatRoom #chatCloseButton,
html[data-theme="light"] #chatRoom #chatCloseBtn {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 0 0 4px !important;
    outline: none !important;
}

body.virtu-light-mode #chatRoom #chatCloseButton:hover,
body.virtu-light-mode #chatRoom #chatCloseBtn:hover,
html[data-theme="light"] #chatRoom #chatCloseButton:hover,
html[data-theme="light"] #chatRoom #chatCloseBtn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15) !important;
    transform: translateY(-1px) !important;
}

/* Reset clumsy tool groups in Light Mode */
body.virtu-light-mode #chatRoom .chat-tool-group,
body.virtu-light-mode #chatRoom .chat-menu-tools,
html[data-theme="light"] #chatRoom .chat-tool-group,
html[data-theme="light"] #chatRoom .chat-menu-tools {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
    box-shadow: none !important;
}

/* Participants Panel Header & List in Light Mode */
body.virtu-light-mode #chatRoom #plist,
body.virtu-light-mode .people-list,
html[data-theme="light"] #chatRoom #plist,
html[data-theme="light"] .people-list {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.virtu-light-mode #plist .chat-list-actions,
body.virtu-light-mode .people-list .chat-list-actions,
html[data-theme="light"] #plist .chat-list-actions,
html[data-theme="light"] .people-list .chat-list-actions {
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 10px 14px 12px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.virtu-light-mode #plist #chatShareRoomBtn,
body.virtu-light-mode .chat-list-actions #chatShareRoomBtn,
html[data-theme="light"] #plist #chatShareRoomBtn,
html[data-theme="light"] .chat-list-actions #chatShareRoomBtn {
    background: rgba(5, 150, 105, 0.1) !important;
    border: 1px solid rgba(5, 150, 105, 0.28) !important;
    color: #059669 !important;
    border-radius: 9px !important;
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

body.virtu-light-mode #plist #chatShareRoomBtn:hover,
body.virtu-light-mode .chat-list-actions #chatShareRoomBtn:hover,
html[data-theme="light"] #plist #chatShareRoomBtn:hover,
html[data-theme="light"] .chat-list-actions #chatShareRoomBtn:hover {
    background: rgba(5, 150, 105, 0.18) !important;
    border-color: #059669 !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.18) !important;
}

body.virtu-light-mode .chat-action-icon-btns>button,
body.virtu-light-mode .chat-action-icon-btns>.dropdown>button.dropdown-toggle,
body.virtu-light-mode #plist #participantsUnreadMessagesBtn,
body.virtu-light-mode #plist #participantsRaiseHandBtn,
body.virtu-light-mode #plist #participantsHiddenBtn,
body.virtu-light-mode #plist #participantsSaveBtn,
html[data-theme="light"] .chat-action-icon-btns>button,
html[data-theme="light"] .chat-action-icon-btns>.dropdown>button.dropdown-toggle,
html[data-theme="light"] #plist #participantsUnreadMessagesBtn,
html[data-theme="light"] #plist #participantsRaiseHandBtn,
html[data-theme="light"] #plist #participantsHiddenBtn,
html[data-theme="light"] #plist #participantsSaveBtn {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body.virtu-light-mode .chat-action-icon-btns>button i,
body.virtu-light-mode .chat-action-icon-btns>.dropdown>button.dropdown-toggle i,
body.virtu-light-mode #plist #participantsUnreadMessagesBtn i,
body.virtu-light-mode #plist #participantsRaiseHandBtn i,
body.virtu-light-mode #plist #participantsHiddenBtn i,
body.virtu-light-mode #plist #participantsSaveBtn i,
html[data-theme="light"] .chat-action-icon-btns>button i,
html[data-theme="light"] .chat-action-icon-btns>.dropdown>button.dropdown-toggle i,
html[data-theme="light"] #plist #participantsUnreadMessagesBtn i,
html[data-theme="light"] #plist #participantsRaiseHandBtn i,
html[data-theme="light"] #plist #participantsHiddenBtn i,
html[data-theme="light"] #plist #participantsSaveBtn i {
    color: #334155 !important;
}

body.virtu-light-mode .chat-action-icon-btns>button:hover,
body.virtu-light-mode .chat-action-icon-btns>.dropdown>button.dropdown-toggle:hover,
body.virtu-light-mode #plist #participantsUnreadMessagesBtn:hover,
body.virtu-light-mode #plist #participantsRaiseHandBtn:hover,
body.virtu-light-mode #plist #participantsHiddenBtn:hover,
body.virtu-light-mode #plist #participantsSaveBtn:hover,
html[data-theme="light"] .chat-action-icon-btns>button:hover,
html[data-theme="light"] .chat-action-icon-btns>.dropdown>button.dropdown-toggle:hover,
html[data-theme="light"] #plist #participantsUnreadMessagesBtn:hover,
html[data-theme="light"] #plist #participantsRaiseHandBtn:hover,
html[data-theme="light"] #plist #participantsHiddenBtn:hover,
html[data-theme="light"] #plist #participantsSaveBtn:hover {
    background: #f1f5f9 !important;
    border-color: #059669 !important;
    color: #059669 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15) !important;
    transform: translateY(-1px) !important;
}

body.virtu-light-mode .chat-action-icon-btns>button:hover i,
body.virtu-light-mode .chat-action-icon-btns>.dropdown>button.dropdown-toggle:hover i,
html[data-theme="light"] .chat-action-icon-btns>button:hover i,
html[data-theme="light"] .chat-action-icon-btns>.dropdown>button.dropdown-toggle:hover i {
    color: #059669 !important;
}

body.virtu-light-mode #plist #participantsHiddenBtn.is-filtering,
html[data-theme="light"] #plist #participantsHiddenBtn.is-filtering {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #d97706 !important;
}

/* Remove Bootstrap blue outline on focus and style active/open dropdown state */
body.virtu-light-mode #plist #participantsHiddenBtn:focus,
body.virtu-light-mode #plist #participantsHiddenBtn:active,
body.virtu-light-mode .chat-action-icon-btns button:focus,
body.virtu-light-mode .chat-action-icon-btns button:active,
html[data-theme="light"] #plist #participantsHiddenBtn:focus,
html[data-theme="light"] #plist #participantsHiddenBtn:active,
html[data-theme="light"] .chat-action-icon-btns button:focus,
html[data-theme="light"] .chat-action-icon-btns button:active {
    outline: none !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2) !important;
}

body.virtu-light-mode #plist #participantsHiddenBtn.show,
body.virtu-light-mode #plist #participantsHiddenBtn[aria-expanded="true"],
html[data-theme="light"] #plist #participantsHiddenBtn.show,
html[data-theme="light"] #plist #participantsHiddenBtn[aria-expanded="true"] {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
    color: #059669 !important;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2) !important;
}

body.virtu-light-mode #plist #participantsHiddenBtn.show i,
body.virtu-light-mode #plist #participantsHiddenBtn[aria-expanded="true"] i,
html[data-theme="light"] #plist #participantsHiddenBtn.show i,
html[data-theme="light"] #plist #participantsHiddenBtn[aria-expanded="true"] i {
    color: #059669 !important;
}

body.virtu-light-mode #plist #chatHideParticipantsList,
body.virtu-light-mode .chat-action-icon-btns #chatHideParticipantsList,
html[data-theme="light"] #plist #chatHideParticipantsList,
html[data-theme="light"] .chat-action-icon-btns #chatHideParticipantsList {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body.virtu-light-mode #plist #chatHideParticipantsList i,
html[data-theme="light"] #plist #chatHideParticipantsList i {
    color: #64748b !important;
}

body.virtu-light-mode #plist #chatHideParticipantsList:hover,
body.virtu-light-mode .chat-action-icon-btns #chatHideParticipantsList:hover,
html[data-theme="light"] #plist #chatHideParticipantsList:hover,
html[data-theme="light"] .chat-action-icon-btns #chatHideParticipantsList:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15) !important;
    transform: translateY(-1px) !important;
}

body.virtu-light-mode #plist #chatHideParticipantsList:hover i,
html[data-theme="light"] #plist #chatHideParticipantsList:hover i {
    color: #ef4444 !important;
}

/* Participants Search Bar in Light Mode */
body.virtu-light-mode .people-list .input-group,
html[data-theme="light"] .people-list .input-group {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    padding: 2px 4px !important;
    margin: 8px 14px 6px !important;
    width: calc(100% - 28px) !important;
    box-sizing: border-box !important;
}

body.virtu-light-mode .people-list .input-group:focus-within,
html[data-theme="light"] .people-list .input-group:focus-within {
    border-color: #059669 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

body.virtu-light-mode .people-list .input-group-text,
html[data-theme="light"] .people-list .input-group-text {
    background: transparent !important;
    color: #64748b !important;
    border: none !important;
    font-size: 14px !important;
    min-width: 32px !important;
    height: 32px !important;
}

body.virtu-light-mode .people-list #searchParticipantsFromList,
html[data-theme="light"] .people-list #searchParticipantsFromList {
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    font-size: 13px !important;
    padding: 6px 8px !important;
}

body.virtu-light-mode .people-list #searchParticipantsFromList::placeholder,
html[data-theme="light"] .people-list #searchParticipantsFromList::placeholder {
    color: #94a3b8 !important;
}

/* Conversations Count */
body.virtu-light-mode #chatConversationsCount,
body.virtu-light-mode .chat-conversations-count,
html[data-theme="light"] #chatConversationsCount,
html[data-theme="light"] .chat-conversations-count {
    color: #64748b !important;
    font-weight: 600 !important;
    padding: 6px 16px 2px !important;
}

/* Dropdown Menu for Hidden Participants in Light Mode */
body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu,
body.virtu-light-mode .participant-list-dropdown-menu,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu,
html[data-theme="light"] .participant-list-dropdown-menu {
    min-width: 195px !important;
    width: max-content !important;
    max-width: 260px !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14) !important;
    color: #0f172a !important;
    z-index: 1090 !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu li,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu li,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu li,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    width: 100% !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu li button,
body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu button,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu button,
body.virtu-light-mode #participantsHiddenViewBtn,
body.virtu-light-mode #participantsHiddenShowAllBtn,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu li button,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu button,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu button,
html[data-theme="light"] #participantsHiddenViewBtn,
html[data-theme="light"] #participantsHiddenShowAllBtn {
    width: 100% !important;
    min-width: 175px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 36px !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    text-align: left !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transform: none !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu button:hover,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu button:hover,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu button:hover,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu button:hover {
    background: #f1f5f9 !important;
    color: #059669 !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu button .participant-action-icon,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu .participant-action-icon,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu button .participant-action-icon,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu .participant-action-icon {
    width: 20px !important;
    min-width: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu button:hover .participant-action-icon,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu button:hover .participant-action-icon {
    color: #059669 !important;
}

body.virtu-light-mode #participantsHiddenDropdown .dropdown-menu button .participant-action-label,
body.virtu-light-mode .chat-action-icon-btns .participant-list-dropdown-menu .participant-action-label,
html[data-theme="light"] #participantsHiddenDropdown .dropdown-menu button .participant-action-label,
html[data-theme="light"] .chat-action-icon-btns .participant-list-dropdown-menu .participant-action-label {
    display: inline-block !important;
    flex: 1 1 auto !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    color: inherit !important;
}

/* Prevent tooltip from overlapping open dropdowns */
#participantsHiddenBtn[aria-expanded="true"]~.tooltip,
.dropdown:has(button[aria-expanded="true"])~.tooltip,
.dropdown.show~.tooltip,
.dropdown:has(.show)~.tooltip,
body:has(#participantsHiddenBtn[aria-expanded="true"]) [data-tippy-root],
body:has(#participantsHiddenDropdown .dropdown-menu.show) [data-tippy-root],
body:has(#participantsHiddenBtn.show) [data-tippy-root] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Participant List Items */
body.virtu-light-mode .people-list .chat-list>li,
html[data-theme="light"] .people-list .chat-list>li {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    margin: 4px 14px 6px !important;
    border-radius: 10px !important;
}

body.virtu-light-mode .people-list .chat-list>li:hover,
html[data-theme="light"] .people-list .chat-list>li:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.virtu-light-mode .people-list .chat-list>li.active,
html[data-theme="light"] .people-list .chat-list>li.active {
    background: #ecfdf5 !important;
    border-left: 3px solid #059669 !important;
}

body.virtu-light-mode .people-list .chat-list>li .name,
html[data-theme="light"] .people-list .chat-list>li .name {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.virtu-light-mode .people-list .status,
body.virtu-light-mode .chat-peer-status-text,
html[data-theme="light"] .people-list .status,
html[data-theme="light"] .chat-peer-status-text {
    color: #64748b !important;
}

/* Chat Dropdown Menu (Screenshot 1 Options Menu) */
body.virtu-light-mode #chatRoom .dropdown-menu,
body.virtu-light-mode .chat-menu-tools .dropdown-menu,
body.virtu-light-mode [aria-labelledby="chatDropDownMenu"],
body.virtu-light-mode .chat-menu-tools ul.dropdown-menu,
html[data-theme="light"] #chatRoom .dropdown-menu,
html[data-theme="light"] .chat-menu-tools .dropdown-menu,
html[data-theme="light"] [aria-labelledby="chatDropDownMenu"],
html[data-theme="light"] .chat-menu-tools ul.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.16) !important;
    color: #0f172a !important;
}

body.virtu-light-mode #chatRoom .dropdown-menu button,
body.virtu-light-mode .chat-menu-tools .dropdown-menu button,
body.virtu-light-mode [aria-labelledby="chatDropDownMenu"] button,
html[data-theme="light"] #chatRoom .dropdown-menu button,
html[data-theme="light"] .chat-menu-tools .dropdown-menu button,
html[data-theme="light"] [aria-labelledby="chatDropDownMenu"] button {
    color: #0f172a !important;
}

body.virtu-light-mode #chatRoom .dropdown-menu button:hover,
body.virtu-light-mode .chat-menu-tools .dropdown-menu button:hover,
body.virtu-light-mode [aria-labelledby="chatDropDownMenu"] button:hover,
html[data-theme="light"] #chatRoom .dropdown-menu button:hover,
html[data-theme="light"] .chat-menu-tools .dropdown-menu button:hover,
html[data-theme="light"] [aria-labelledby="chatDropDownMenu"] button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

body.virtu-light-mode #chatRoom .dropdown-menu hr,
body.virtu-light-mode [aria-labelledby="chatDropDownMenu"] hr,
html[data-theme="light"] #chatRoom .dropdown-menu hr,
html[data-theme="light"] [aria-labelledby="chatDropDownMenu"] hr {
    background: #e2e8f0 !important;
}

body.virtu-light-mode .transcription-switch-row,
html[data-theme="light"] .transcription-switch-row {
    color: #0f172a !important;
}

body.virtu-light-mode .transcription-switch-row:hover,
html[data-theme="light"] .transcription-switch-row:hover {
    background: #f1f5f9 !important;
}

body.virtu-light-mode .transcription-switch-row i,
html[data-theme="light"] .transcription-switch-row i {
    color: #475569 !important;
}

body.virtu-light-mode .transcription-switch-label,
html[data-theme="light"] .transcription-switch-label {
    color: #0f172a !important;
    font-weight: 500 !important;
}

body.virtu-light-mode .transcription-switch-row .form-check-input,
html[data-theme="light"] .transcription-switch-row .form-check-input {
    background-color: #cbd5e1 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode .transcription-switch-row .form-check-input:checked,
html[data-theme="light"] .transcription-switch-row .form-check-input:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

/* Chat History & Messages */
body.virtu-light-mode #chatRoom .chat-history,
body.virtu-light-mode #chatRoom #chatMessages,
html[data-theme="light"] #chatRoom .chat-history,
html[data-theme="light"] #chatRoom #chatMessages {
    background: #ffffff !important;
}

body.virtu-light-mode .chat-msg-them,
html[data-theme="light"] .chat-msg-them {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
}

body.virtu-light-mode #chatRoom #plist,
html[data-theme="light"] #chatRoom #plist {
    background: #ffffff !important;
}

/* Chat Input Bar Container */
body.virtu-light-mode #chatRoom .chat-input-container,
html[data-theme="light"] #chatRoom .chat-input-container {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

body.virtu-light-mode #chatRoom .chat-input-container:focus-within,
html[data-theme="light"] #chatRoom .chat-input-container:focus-within {
    background: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

body.virtu-light-mode #chatRoom #chatMessage,
html[data-theme="light"] #chatRoom #chatMessage {
    color: #0f172a !important;
}

body.virtu-light-mode #chatRoom #chatMessage::placeholder,
html[data-theme="light"] #chatRoom #chatMessage::placeholder {
    color: #94a3b8 !important;
}

body.virtu-light-mode #chatRoom #chatEmojiButton,
html[data-theme="light"] #chatRoom #chatEmojiButton {
    color: #64748b !important;
}

body.virtu-light-mode #chatRoom #chatEmojiButton:hover,
html[data-theme="light"] #chatRoom #chatEmojiButton:hover {
    color: #059669 !important;
}

/* =========================================================================
   LOBBY / PRE-JOIN MODAL (.swal2-popup.init-modal-size) & SWEETALERT2 POPUPS
   ========================================================================= */
body.virtu-light-mode .swal2-popup.init-modal-size,
html[data-theme="light"] .swal2-popup.init-modal-size {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.22) !important;
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .swal2-title,
body.virtu-light-mode .swal2-popup.init-modal-size #initHeaderTitle,
html[data-theme="light"] .swal2-popup.init-modal-size .swal2-title,
html[data-theme="light"] .swal2-popup.init-modal-size #initHeaderTitle {
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-subtitle,
body.virtu-light-mode .swal2-popup.init-modal-size #initHeaderDesc,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-subtitle,
html[data-theme="light"] .swal2-popup.init-modal-size #initHeaderDesc {
    color: #64748b !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .init-media-controls button,
body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden),
body.virtu-light-mode .swal2-popup.init-modal-size .initComands>button:not(.hidden),
html[data-theme="light"] .swal2-popup.init-modal-size .init-media-controls button,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden),
html[data-theme="light"] .swal2-popup.init-modal-size .initComands>button:not(.hidden) {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .init-media-controls button:hover,
body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden):hover,
html[data-theme="light"] .swal2-popup.init-modal-size .init-media-controls button:hover,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-toolbar button:not(.hidden):hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-trigger,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-trigger {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-trigger:hover,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-trigger:hover {
    border-color: #059669 !important;
    background: #ffffff !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-select-value,
body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-text,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-select-value,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-text {
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-select-meta,
body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-meta,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-select-meta,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-meta {
    color: #64748b !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-menu,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-menu {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.15) !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-option,
body.virtu-light-mode .swal2-popup.init-modal-size .virtu-option-text,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-option,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-option-text {
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .virtu-lobby-select-option:hover,
html[data-theme="light"] .swal2-popup.init-modal-size .virtu-lobby-select-option:hover {
    background: #f1f5f9 !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .swal2-input#usernameInput,
html[data-theme="light"] .swal2-popup.init-modal-size .swal2-input#usernameInput {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.virtu-light-mode .swal2-popup.init-modal-size .swal2-input#usernameInput:focus,
html[data-theme="light"] .swal2-popup.init-modal-size .swal2-input#usernameInput:focus {
    background-color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

/* SweetAlert2 default containers across the app */
body.virtu-light-mode .swal2-popup:not(.init-modal-size),
html[data-theme="light"] .swal2-popup:not(.init-modal-size) {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
}

body.virtu-light-mode .swal2-title,
html[data-theme="light"] .swal2-title,
body.virtu-light-mode .swal2-html-container,
html[data-theme="light"] .swal2-html-container {
    color: #0f172a !important;
}


/* ==========================================================================
   Virtu Dynamic Layout Modes (Grid, Speaker Top, Speaker Left, 1:1, Livestream)
   ========================================================================== */

/* --- 1. Grid Mode Base Container --- */
#virtuCenterStage.virtu-mode-grid #videoPinMediaContainer,
body.virtu-mode-grid #videoPinMediaContainer {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#virtuCenterStage.virtu-mode-grid #virtuMainVideoWrapper,
body.virtu-mode-grid #virtuMainVideoWrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#virtuCenterStage.virtu-mode-grid #virtuMainVideoWrapper #videoMediaContainer,
body.virtu-mode-grid #virtuMainVideoWrapper #videoMediaContainer,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer,
body.virtu-mode-grid #videoMediaContainer {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    gap: 14px !important;
    padding: 14px 18px 76px 18px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
    z-index: 2 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(47, 234, 168, 0.3) transparent !important;
}

/* ==========================================================================
   Google Meet-Style Video Tile (.Camera) Visual Theme
   ========================================================================== */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera,
body.virtu-mode-grid #videoMediaContainer .Camera {
    position: relative !important;
    background: var(--virtu-bg-card, #131924) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease,
                box-shadow 0.22s ease !important;
    aspect-ratio: 16 / 9 !important;
}

/* Subtle elevation on hover like Google Meet */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:hover,
body.virtu-mode-grid #videoMediaContainer .Camera:hover {
    border-color: rgba(47, 234, 168, 0.4) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(47, 234, 168, 0.18) !important;
    transform: translateY(-2px) scale(1.004) !important;
}

/* Google Meet Active Speaker Neon Glow Outline */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.active-speaker,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-speaking="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.speaking,
body.virtu-mode-grid #videoMediaContainer .Camera.active-speaker,
body.virtu-mode-grid #videoMediaContainer .Camera[data-speaking="true"],
body.virtu-mode-grid #videoMediaContainer .Camera.speaking {
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 0 2px var(--virtu-emerald, #2feaa8), 0 8px 32px rgba(47, 234, 168, 0.35) !important;
}

/* Video inside tile: Full bleed, crisp rounded corners */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video,
body.virtu-mode-grid #videoMediaContainer .Camera video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
    z-index: 1 !important;
}

/* Screen Share inside Grid tile: MUST be contain so full screen is visible without clipping in ALL grids */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare video,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"] video,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video.is-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video[data-is-screen="true"],
body.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare video,
body.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"] video,
body.virtu-mode-grid #videoMediaContainer .Camera video.is-screenshare,
body.virtu-mode-grid #videoMediaContainer .Camera video[data-is-screen="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer video[id*="_screen_"],
body.virtu-mode-grid #videoMediaContainer video[id*="_screen_"],
#videoMediaContainer .Camera.is-screenshare video,
#videoMediaContainer .Camera[data-is-screen="true"] video,
#videoMediaContainer video[id*="_screen_"],
#videoMediaContainer video[id*="-screen-sharing"] {
    object-fit: contain !important;
    background: #000000 !important;
}

#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"],
body.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare,
body.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"],
#videoMediaContainer .Camera.is-screenshare,
#videoMediaContainer .Camera[data-is-screen="true"] {
    background: #000000 !important;
    aspect-ratio: auto !important;
}

/* Google Meet Camera-Off Card Surface */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-camera-off="true"],
body.virtu-mode-grid #videoMediaContainer .Camera[data-camera-off="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:has(.videoAvatarImage[style*="display: block"]) {
    background: radial-gradient(circle at center, #1b2434 0%, #0d121c 100%) !important;
}

/* Centered User Avatar in Tile */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer .Camera .videoAvatarImage {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    border: 3px solid rgba(47, 234, 168, 0.55) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(47, 234, 168, 0.2) !important;
    background: #171f2c !important;
    object-fit: cover !important;
    display: block !important;
    z-index: 2 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

/* Avatar Pulse when speaking with camera off */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.active-speaker .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-speaking="true"] .videoAvatarImage {
    border-color: var(--virtu-emerald, #2feaa8) !important;
    box-shadow: 0 0 0 4px var(--virtu-emerald, #2feaa8), 0 0 28px var(--virtu-emerald-glow) !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
}

/* ==========================================================================
   Google Meet Name Badge: Sleek Glass Pill in Bottom-Left Corner
   ========================================================================== */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .username,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .peer-name,
body.virtu-mode-grid #videoMediaContainer .Camera .username,
body.virtu-mode-grid #videoMediaContainer .Camera .peer-name {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    top: auto !important;
    right: auto !important;
    z-index: 6 !important;
    margin: 0 !important;
    padding: 5px 12px !important;
    max-width: calc(100% - 24px) !important;
    background: rgba(10, 14, 23, 0.76) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15px !important;
    line-height: 1.25 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    pointer-events: auto !important;
    user-select: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

/* Mute / Audio status badge inside or next to name */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .audio,
body.virtu-mode-grid #videoMediaContainer .Camera .audio {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 12px !important;
}

/* ==========================================================================
   Google Meet Tile Action Controls: Floating Pill at Top-Left on Hover
   ========================================================================== */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar,
body.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 15 !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    background: rgba(14, 20, 31, 0.82) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-4px) !important;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:hover .videoMenuBar:not(.hidden),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:focus-within .videoMenuBar:not(.hidden),
body.virtu-mode-grid #videoMediaContainer .Camera:hover .videoMenuBar:not(.hidden),
body.virtu-mode-grid #videoMediaContainer .Camera:focus-within .videoMenuBar:not(.hidden) {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button,
body.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button:hover,
body.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button:hover {
    background: rgba(47, 234, 168, 0.22) !important;
    border-color: rgba(47, 234, 168, 0.45) !important;
    color: var(--virtu-emerald, #2feaa8) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 10px rgba(47, 234, 168, 0.3) !important;
}

/* ==========================================================================
   Google Meet Responsive Grid Sizing Engine (1 to 16+ participants)
   ========================================================================== */

/* 1 Participant: Hero centered tile */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-1 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-1 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:only-child {
    flex: 0 1 auto !important;
    width: min(940px, calc(100% - 24px)) !important;
    max-width: 940px !important;
    min-width: 300px !important;
    max-height: calc(100% - 10px) !important;
    border-radius: 20px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-1 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-1 .Camera .videoAvatarImage {
    width: 104px !important;
    height: 104px !important;
}

/* 2 Participants: Side by side landscape split (50/50) */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-2 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-2 .Camera {
    flex: 0 1 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: 680px !important;
    min-width: 280px !important;
    max-height: calc(100% - 10px) !important;
    border-radius: 18px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-2 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-2 .Camera .videoAvatarImage {
    width: 92px !important;
    height: 92px !important;
}

/* 3 Participants: 3 in a row */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-3 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-3 .Camera {
    flex: 0 1 calc(33.333% - 10px) !important;
    width: calc(33.333% - 10px) !important;
    max-width: 520px !important;
    min-width: 240px !important;
    max-height: calc(100% - 10px) !important;
    border-radius: 16px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-3 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-3 .Camera .videoAvatarImage {
    width: 82px !important;
    height: 82px !important;
}

/* 4 Participants: Perfect 2x2 grid */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-4 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-4 .Camera {
    flex: 0 1 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: 560px !important;
    min-width: 240px !important;
    max-height: calc(50% - 10px) !important;
    border-radius: 16px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-4 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-4 .Camera .videoAvatarImage {
    width: 76px !important;
    height: 76px !important;
}

/* 5-6 Participants: 3 columns x 2 rows */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-5 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-6 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-5 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-6 .Camera {
    flex: 0 1 calc(33.333% - 10px) !important;
    width: calc(33.333% - 10px) !important;
    max-width: 440px !important;
    min-width: 200px !important;
    max-height: calc(50% - 10px) !important;
    border-radius: 14px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-5 .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-6 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-5 .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-6 .Camera .videoAvatarImage {
    width: 68px !important;
    height: 68px !important;
}

/* 7-9 Participants: 3 columns x 3 rows */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-7 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-8 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-9 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-7 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-8 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-9 .Camera {
    flex: 0 1 calc(33.333% - 10px) !important;
    width: calc(33.333% - 10px) !important;
    max-width: 380px !important;
    min-width: 180px !important;
    max-height: calc(33.333% - 10px) !important;
    border-radius: 13px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-7 .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-8 .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-9 .Camera .videoAvatarImage {
    width: 58px !important;
    height: 58px !important;
}

/* 10-12 Participants: 4 columns x 3 rows */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-10 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-11 .Camera,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-12 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-10 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-11 .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-12 .Camera {
    flex: 0 1 calc(25% - 10px) !important;
    width: calc(25% - 10px) !important;
    max-width: 320px !important;
    min-width: 160px !important;
    max-height: calc(33.333% - 10px) !important;
    border-radius: 12px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-10 .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-11 .Camera .videoAvatarImage,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-12 .Camera .videoAvatarImage {
    width: 50px !important;
    height: 50px !important;
}

/* 13+ Participants: Multi-tile responsive grid */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-multi .Camera,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-multi .Camera {
    flex: 0 1 calc(25% - 10px) !important;
    width: calc(25% - 10px) !important;
    max-width: 300px !important;
    min-width: 150px !important;
    max-height: calc(25% - 8px) !important;
    border-radius: 12px !important;
}
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.virtu-grid-multi .Camera .videoAvatarImage,
body.virtu-mode-grid #videoMediaContainer.virtu-grid-multi .Camera .videoAvatarImage {
    width: 44px !important;
    height: 44px !important;
}

/* ==========================================================================
   Responsive Fullview Screenshare Engine across ALL Grid Modes and Participant Counts
   ========================================================================== */

/* 1. Zoom Technology: Side-by-Side Gallery Grid Container when screenshare is present in Grid Mode */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.has-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(.is-screenshare),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has([data-is-screen="true"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(video.is-screenshare),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(video[data-is-screen="true"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(video[id*="_screen_"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(video[id*="-screen-sharing"]),
body.virtu-mode-grid #videoMediaContainer.has-screenshare,
body.virtu-mode-grid #videoMediaContainer:has(.is-screenshare),
body.virtu-mode-grid #videoMediaContainer:has([data-is-screen="true"]),
body.virtu-mode-grid #videoMediaContainer:has(video[id*="_screen_"]),
#videoMediaContainer.has-screenshare,
#videoMediaContainer:has(.is-screenshare) {
    display: grid !important;
    grid-template-columns: 1fr clamp(200px, 22vw, 280px) !important;
    grid-template-rows: repeat(auto-fill, minmax(110px, 160px)) !important;
    grid-auto-flow: row !important;
    gap: 16px !important;
    padding: 12px 18px 96px 18px !important; /* Critical 96px bottom clearance so floating dock #bottomButtons NEVER overlaps screenshare */
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    align-items: stretch !important;
}

/* If ONLY screenshare is present in the container (no participant cameras), use 1 full column */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.has-screenshare:not(:has(.Camera:not(.is-screenshare):not([data-is-screen="true"]))),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(.is-screenshare):not(:has(.Camera:not(.is-screenshare):not([data-is-screen="true"]))),
body.virtu-mode-grid #videoMediaContainer.has-screenshare:not(:has(.Camera:not(.is-screenshare):not([data-is-screen="true"]))) {
    grid-template-columns: 1fr !important;
}

/* 2. Left Side: Screenshare Hero Presentation Card (Spans all rows in Column 1) */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:has(video.is-screenshare),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:has(video[data-is-screen="true"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:has(video[id*="_screen_"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:has(video[id*="-screen-sharing"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera.is-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera[data-is-screen="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video.is-screenshare),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video[data-is-screen="true"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video[id*="_screen_"]),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video[id*="-screen-sharing"]),
body.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare,
body.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"],
body.virtu-mode-grid #videoMediaContainer .Camera:has(video.is-screenshare),
body.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera.is-screenshare,
body.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera[data-is-screen="true"],
body.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video.is-screenshare),
body.virtu-mode-grid #videoMediaContainer[class*="virtu-grid-"] .Camera:has(video[id*="_screen_"]),
#videoMediaContainer .Camera.is-screenshare,
#videoMediaContainer .Camera[data-is-screen="true"],
#videoMediaContainer .Camera:has(video.is-screenshare),
#videoMediaContainer[class*="virtu-grid-"] .Camera.is-screenshare,
#videoMediaContainer[class*="virtu-grid-"] .Camera[data-is-screen="true"],
#videoMediaContainer[class*="virtu-grid-"] .Camera:has(video.is-screenshare) {
    grid-column: 1 / 2 !important;
    grid-row: 1 / -1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: var(--virtu-radius-xl, 20px) !important;
    background: #000000 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}

/* 3. Right Side: Participant Gallery Column (Stacks in Column 2) */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer.has-screenshare .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(.is-screenshare) .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])),
#virtuCenterStage.virtu-mode-grid #videoMediaContainer:has([data-is-screen="true"]) .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])),
body.virtu-mode-grid #videoMediaContainer.has-screenshare .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])),
body.virtu-mode-grid #videoMediaContainer:has(.is-screenshare) .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])),
body.virtu-mode-grid #videoMediaContainer:has([data-is-screen="true"]) .Camera:not(.is-screenshare):not([data-is-screen="true"]):not(:has(video.is-screenshare)):not(:has(video[id*="_screen_"])) {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    max-height: 160px !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px !important;
    margin: 0 !important;
    z-index: 5 !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 4. Screenshare Video Element: Full container coverage with zero cropping (contain) */
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare video,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"] video,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video.is-screenshare,
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video[data-is-screen="true"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video[id*="_screen_"],
#virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera video[id*="-screen-sharing"],
body.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare video,
body.virtu-mode-grid #videoMediaContainer .Camera[data-is-screen="true"] video,
body.virtu-mode-grid #videoMediaContainer .Camera video.is-screenshare,
body.virtu-mode-grid #videoMediaContainer .Camera video[data-is-screen="true"],
body.virtu-mode-grid #videoMediaContainer .Camera video[id*="_screen_"],
body.virtu-mode-grid #videoMediaContainer .Camera video[id*="-screen-sharing"],
#videoMediaContainer .Camera.is-screenshare video,
#videoMediaContainer .Camera[data-is-screen="true"] video,
#videoMediaContainer video[id*="_screen_"],
#videoMediaContainer video[id*="-screen-sharing"] {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
    background: #000000 !important;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    #virtuCenterStage.virtu-mode-grid #videoMediaContainer.has-screenshare,
    #virtuCenterStage.virtu-mode-grid #videoMediaContainer:has(.is-screenshare),
    body.virtu-mode-grid #videoMediaContainer.has-screenshare {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr auto !important;
        gap: 8px !important;
        padding: 8px 8px 84px 8px !important;
    }
    #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.is-screenshare {
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 100% !important;
    }
    #virtuCenterStage.virtu-mode-grid #videoMediaContainer.has-screenshare .Camera:not(.is-screenshare) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        max-height: 80px !important;
        width: 120px !important;
    }
}

/* --- 2. Speaker Left Mode --- */
#virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow,
body.virtu-mode-speaker-left #virtuTopVideoRow,
.virtu-middle-stage.virtu-mode-speaker-left #virtuTopVideoRow {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 235px !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 14px 10px 85px 14px !important;
    box-sizing: border-box !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    gap: 12px !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow #videoMediaContainer,
body.virtu-mode-speaker-left #virtuTopVideoRow #videoMediaContainer {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: auto !important;
    gap: 12px !important;
}

#virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow .Camera,
body.virtu-mode-speaker-left #virtuTopVideoRow .Camera {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
}

/* --- 2.5 Speaker 1:1 Clean Full Focus Mode --- */
#virtuCenterStage.virtu-mode-speaker-1-1 .virtu-top-video-row,
#virtuCenterStage.virtu-mode-speaker-1-1 #virtuTopVideoRow,
body.virtu-mode-speaker-1-1 .virtu-top-video-row,
body.virtu-mode-speaker-1-1 #virtuTopVideoRow,
#virtuCenterStage.virtu-mode-speaker-1-1 #videoMediaContainer,
body.virtu-mode-speaker-1-1 #videoMediaContainer {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

#virtuCenterStage.virtu-mode-speaker-1-1 #virtuMainVideoWrapper,
body.virtu-mode-speaker-1-1 #virtuMainVideoWrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    border-radius: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#virtuCenterStage.virtu-mode-speaker-1-1 #videoPinMediaContainer,
body.virtu-mode-speaker-1-1 #videoPinMediaContainer,
#virtuCenterStage.virtu-mode-livestream #videoPinMediaContainer,
body.virtu-mode-livestream #videoPinMediaContainer {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 8px 12px 96px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

#virtuCenterStage.virtu-mode-speaker-1-1 #videoPinMediaContainer .pinned-video-container,
#virtuCenterStage.virtu-mode-livestream #videoPinMediaContainer .pinned-video-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    border-radius: 20px !important;
}

#virtuCenterStage.virtu-mode-speaker-1-1 #videoPinMediaContainer .pinned-video-container video,
#virtuCenterStage.virtu-mode-livestream #videoPinMediaContainer .pinned-video-container video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
    border-radius: 20px !important;
}

/* --- 3. Light Mode Overrides for Layout Modes --- */
body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:hover,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera:hover {
    border-color: #059669 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 12px rgba(5, 150, 105, 0.15) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.active-speaker,
body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-speaking="true"],
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera.active-speaker,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-speaking="true"] {
    border-color: #059669 !important;
    box-shadow: 0 0 0 2px #059669, 0 6px 20px rgba(5, 150, 105, 0.25) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .username,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .username {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button:hover,
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera .videoMenuBar button:hover {
    background: rgba(5, 150, 105, 0.15) !important;
    color: #059669 !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-camera-off="true"],
html[data-theme="light"] #virtuCenterStage.virtu-mode-grid #videoMediaContainer .Camera[data-camera-off="true"] {
    background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%) !important;
}

body.virtu-light-mode #virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow,
html[data-theme="light"] #virtuCenterStage.virtu-mode-speaker-left #virtuTopVideoRow {
    background: #f8fafc !important;
    border-right: 1px solid #e2e8f0 !important;
}

/* --- Virtual Background Status Notice --- */
.vb-status-notice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    margin: 8px 0 16px 0 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.vb-status-notice i {
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.vb-status-notice--off {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #fbbf24 !important;
}

.vb-status-notice--off i {
    color: #f59e0b !important;
}

.vb-status-notice--on {
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: #4ade80 !important;
}

.vb-status-notice--on i {
    color: #22c55e !important;
}

body.virtu-light-mode .vb-status-notice--off,
html[data-theme="light"] .vb-status-notice--off {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}

body.virtu-light-mode .vb-status-notice--on,
html[data-theme="light"] .vb-status-notice--on {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
}

/* ==========================================================================
   Auto-Hide Bottom Controls & Floor on Inactivity (15-20s)
   ========================================================================== */
#virtuDockLeftGroup,
#virtuMainVideoWrapper #virtuDockLeftGroup,
#bottomButtons,
#virtuMainVideoWrapper #bottomButtons,
div#bottomButtons,
#virtuDockRightGroup,
#virtuMainVideoWrapper #virtuDockRightGroup,
#virtuBottomFloor,
.virtu-bottom-floor {
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.virtu-controls-idle #virtuDockLeftGroup,
body.virtu-controls-idle #virtuMainVideoWrapper #virtuDockLeftGroup {
    opacity: 0 !important;
    transform: translateY(24px) !important;
    pointer-events: none !important;
}

body.virtu-controls-idle #bottomButtons,
body.virtu-controls-idle #virtuMainVideoWrapper #bottomButtons,
body.virtu-controls-idle div#bottomButtons {
    opacity: 0 !important;
    transform: translate(-50%, 24px) !important;
    pointer-events: none !important;
}

body.virtu-controls-idle #virtuDockRightGroup,
body.virtu-controls-idle #virtuMainVideoWrapper #virtuDockRightGroup {
    opacity: 0 !important;
    transform: translateY(24px) !important;
    pointer-events: none !important;
}

body.virtu-controls-idle #virtuBottomFloor,
body.virtu-controls-idle .virtu-bottom-floor {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

body.virtu-controls-idle #virtuMainVideoWrapper {
    cursor: none !important;
}

/* ==========================================================================
   MODERN CYBER GLASS EXIT & END-CALL DROPDOWN MENU (#exitMenu)
   ========================================================================== */

#bottomButtons #exitDropdown,
#virtuCenterStage #bottomButtons #exitDropdown,
#virtuMainVideoWrapper #bottomButtons #exitDropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

#bottomButtons #exitMenu,
#virtuCenterStage #bottomButtons #exitMenu,
#virtuMainVideoWrapper #bottomButtons #exitMenu,
.virtu-exit-menu {
    position: absolute !important;
    bottom: calc(100% + 14px) !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    width: 260px !important;
    min-width: 250px !important;
    max-width: 300px !important;
    padding: 8px !important;
    background: rgba(14, 20, 31, 0.96) !important;
    backdrop-filter: blur(24px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    z-index: 10005 !important;
    pointer-events: auto !important;
    transform-origin: bottom right !important;
    animation: virtuExitMenuPop 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes virtuExitMenuPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#bottomButtons #exitMenu.hidden,
#virtuCenterStage #bottomButtons #exitMenu.hidden,
#virtuMainVideoWrapper #bottomButtons #exitMenu.hidden,
.virtu-exit-menu.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.96) !important;
}

.virtu-exit-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 8px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 2px !important;
    user-select: none !important;
}

#bottomButtons #exitMenu button,
#virtuCenterStage #bottomButtons #exitMenu button,
#virtuMainVideoWrapper #bottomButtons #exitMenu button,
#bottomButtons #exitLeaveBtn,
#bottomButtons #exitLeaveAllBtn,
.virtu-exit-btn {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: none !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    text-align: left !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    transition: all 0.18s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Leave room button (self exit) */
#bottomButtons #exitLeaveBtn,
.leave-call-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}

#bottomButtons #exitLeaveBtn:hover,
.leave-call-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* End room for all button (destructive termination) */
#bottomButtons #exitLeaveAllBtn,
.end-call-btn {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
}

#bottomButtons #exitLeaveAllBtn:hover,
.end-call-btn:hover {
    background: rgba(239, 68, 68, 0.26) !important;
    border-color: rgba(239, 68, 68, 0.55) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
}

/* Icon Wrap inside exit items */
.virtu-exit-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#exitLeaveBtn .virtu-exit-icon-wrap {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

#exitLeaveBtn:hover .virtu-exit-icon-wrap {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

#exitLeaveAllBtn .virtu-exit-icon-wrap {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
}

#exitLeaveAllBtn:hover .virtu-exit-icon-wrap {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.virtu-exit-icon-wrap i {
    font-size: 14px !important;
    color: inherit !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Text Wrap inside exit items */
.virtu-exit-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.virtu-exit-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: inherit !important;
}

.virtu-exit-subtitle {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    line-height: 1.2 !important;
}

#exitLeaveAllBtn .virtu-exit-subtitle {
    color: #f87171 !important;
    opacity: 0.8 !important;
}

#exitLeaveAllBtn:hover .virtu-exit-subtitle {
    color: #fecaca !important;
    opacity: 1 !important;
}

/* Light Theme support for exit menu */
body.virtu-light-mode #bottomButtons #exitMenu,
body.virtu-light-mode #virtuCenterStage #bottomButtons #exitMenu,
body.virtu-light-mode #virtuMainVideoWrapper #bottomButtons #exitMenu,
html[data-theme="light"] #bottomButtons #exitMenu,
html[data-theme="light"] #virtuCenterStage #bottomButtons #exitMenu,
html[data-theme="light"] #virtuMainVideoWrapper #bottomButtons #exitMenu {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15) !important;
}

body.virtu-light-mode .virtu-exit-header,
html[data-theme="light"] .virtu-exit-header {
    color: #64748b !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.virtu-light-mode #bottomButtons #exitLeaveBtn,
html[data-theme="light"] #bottomButtons #exitLeaveBtn {
    background: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0f172a !important;
}

body.virtu-light-mode #bottomButtons #exitLeaveBtn:hover,
html[data-theme="light"] #bottomButtons #exitLeaveBtn:hover {
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.16) !important;
}

body.virtu-light-mode #exitLeaveBtn .virtu-exit-icon-wrap,
html[data-theme="light"] #exitLeaveBtn .virtu-exit-icon-wrap {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #334155 !important;
}


