* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Computer screen effect */
body {
    background: #111;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: min(2vw, 15px);
    color: white;
    overflow: hidden;
}

/* Monitor bezel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #2c2c2c, #1a1a1a);
    border: min(2vw, 15px) solid #333;
    border-radius: min(2vw, 10px);
    box-shadow: 
        inset 0 0 50px rgba(0,0,0,0.5),
        0 0 100px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Power button */
body::after {
    content: '';
    position: fixed;
    bottom: min(1.5vw, 10px);
    right: 50%;
    transform: translateX(50%);
    width: min(1.5vw, 8px);
    height: min(1.5vw, 8px);
    background: #666;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 2px #000,
        0 0 2px rgba(255,255,255,0.2);
    z-index: 2;
}

/* Desktop background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0078D4, #005A9E);
    z-index: -1;
}

/* Zoom Window */
.zoom-window {
    background: #1a1a1a;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    margin: 10px auto;
    width: calc(100vw - min(4vw, 30px));
    height: calc(100vh - 80px); /* Account for taskbar and margins */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.window-header {
    background: #2d2d2d;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #404040;
    height: 32px;
    min-height: 32px;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.window-controls {
    display: flex;
    gap: 15px;
}

.window-controls span {
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.window-controls span:hover {
    opacity: 1;
}

.close:hover {
    color: #ff4444;
}

/* Meeting container */
.meeting-container {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    height: calc(100% - 32px); /* Subtract header height */
}

/* Taskbar */
.taskbar {
    background: rgba(36, 36, 36, 0.95);
    backdrop-filter: blur(10px);
    height: 35px;
    min-height: 35px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
    border-top: 1px solid #404040;
    position: relative;
    z-index: 2;
    margin: 0 min(2vw, 15px);
}

.start-button {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.start-button:hover {
    background: rgba(255,255,255,0.1);
}

.taskbar-items {
    display: flex;
    gap: 4px;
    flex-grow: 1;
    padding: 0 10px;
}

.taskbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border-bottom: 2px solid #0078D4;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    padding: 0 10px;
}

.time {
    border-left: 1px solid #404040;
    padding-left: 15px;
    margin-left: 5px;
}

/* Participant styles */
.participant {
    background: rgba(58, 58, 58, 0.95);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(74, 74, 74, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.3),
        inset 0 0 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
}

.participant:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 0 30px rgba(0,0,0,0.2);
}

.participant.speaking {
    border-color: #2D8CFF;
    animation: speaking-pulse 2s infinite;
}

/* Name tags */
.name-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: clamp(11px, 1.3vw, 13px);
    z-index: 10;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Mute indicator */
.mute-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: clamp(24px, 2.2vw, 28px);
    height: clamp(24px, 2.2vw, 28px);
    background: #ff4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 1.4vw, 14px);
    color: white;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.mute-indicator.unmuted {
    background: #2ecc71;
}

/* Default participant avatar */
.participant-avatar {
    width: 120px;
    height: 120px;
    background: #4a90e2;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Remove the previous ::before and ::after pseudo-elements */
.participant-avatar::before,
.participant-avatar::after {
    display: none;
}

/* Coffee break avatar */
.coffee-avatar {
    width: 120px;
    height: 120px;
    background: #e67e22;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

/* Multitask avatar */
.multitask-avatar {
    width: 120px;
    height: 120px;
    background: #9b59b6;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

/* Muted talking avatar */
.muted-talking-avatar {
    width: 120px;
    height: 120px;
    background: #3498db;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

/* Keyboard typer avatar */
.keyboard-avatar {
    width: 120px;
    height: 120px;
    background: #2ecc71;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

@keyframes speaking-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(45, 140, 255, 0.2),
                    inset 0 0 30px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(45, 140, 255, 0.4),
                    inset 0 0 30px rgba(0,0,0,0.2);
    }
    100% {
        box-shadow: 0 4px 20px rgba(45, 140, 255, 0.2),
                    inset 0 0 30px rgba(0,0,0,0.2);
    }
}

/* Status badge */
.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(45, 140, 255, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: clamp(10px, 1.1vw, 12px);
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

/* Coffee break participant */
.coffee-break {
    background: linear-gradient(135deg, #6b4a2a, #5b3a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.coffee-avatar {
    width: 120px;
    height: 120px;
    background: #e67e22;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
}

.coffee-mug {
    position: absolute;
    bottom: 40px;
    width: 40px;
    height: 30px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: center;
}

.coffee-mug::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 5px;
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 15px;
}

.steam {
    position: absolute;
    width: 8px;
    height: 20px;
    background: rgba(255,255,255,0.4);
    border-radius: 10px;
    animation: steam-rise 2s infinite;
    top: -25px;
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-15px) scaleX(1.5);
        opacity: 0;
    }
}

/* Adjust steam positions */
.steam:nth-child(1) { left: 5px; animation-delay: 0s; }
.steam:nth-child(2) { left: 12px; animation-delay: 0.4s; }
.steam:nth-child(3) { left: 19px; animation-delay: 0.8s; }

@media (max-width: 768px) {
    .coffee-avatar {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }

    .coffee-mug {
        width: 30px;
        height: 25px;
        bottom: 30px;
    }

    .coffee-mug::before {
        right: -12px;
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .coffee-avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .coffee-mug {
        width: 25px;
        height: 20px;
        bottom: 25px;
    }

    .coffee-mug::before {
        right: -10px;
        width: 10px;
        height: 10px;
    }
}

/* Late joiner participant */
.late-joiner {
    background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
}

.connecting-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 15;
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: dots-pulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dots-pulse {
    0%, 100% { transform: scale(0.5); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
}

.connecting-text {
    color: white;
    font-size: 14px;
    animation: text-fade 2s ease-in-out infinite;
}

@keyframes text-fade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Multitasking participant */
.multitasking {
    background: linear-gradient(135deg, #2a4a6b, #1a3a5b);
    overflow: hidden !important;
}

.multitask-avatar {
    width: 75px;
    height: 75px;
    background: #4a7ab8;
    border-radius: 50%;
    position: relative;
}

.glasses {
    position: absolute;
    top: 20px;
    left: 12px;
    width: 50px;
    height: 25px;
    display: flex;
    gap: 4px;
    z-index: 5;
}

.glasses::before, .glasses::after {
    content: '';
    width: 22px;
    height: 22px;
    border: 3px solid #333;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.reflection {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 8px;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.4),
        rgba(255,255,255,0.1)
    );
    border-radius: 50%;
    animation: screen-reflection 3s linear infinite;
}

.slack-notification, .email-notification, .calendar-notification {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 20;
    right: 10px;
    max-width: 90%;
    transform: translateX(120%);
    animation: notification-slide 5s ease-in-out infinite;
    text-overflow: ellipsis;
    overflow: hidden;
}

.slack-notification {
    top: 15px;
    border-left: 3px solid #4A154B;
    animation-delay: 0s;
}

.email-notification {
    top: 45px;
    border-left: 3px solid #D93025;
    animation-delay: 2.5s;
}

.calendar-notification {
    top: 75px;
    border-left: 3px solid #4285F4;
    animation-delay: 5s;
}

@keyframes notification-slide {
    0% { transform: translateX(120%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

/* Muted but talking participant */
.muted-talking {
    background: linear-gradient(135deg, #6b3a4a, #5b2a3a);
}

.muted-talking-avatar {
    width: 80px;
    height: 80px;
    background: #c47a9b;
    border-radius: 50%;
    position: relative;
    animation: frustrated-shake 0.8s ease-in-out infinite;
}

.speech-bubble {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 60px;
    height: 30px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: bubble-pulse 1s ease-in-out infinite;
    z-index: 5;
}

@keyframes frustrated-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

/* Keyboard typer participant */
.keyboard-typer {
    background: linear-gradient(135deg, #4a4a6b, #3a3a5b);
}

.keyboard-avatar {
    width: 75px;
    height: 75px;
    background: #9494b8;
    border-radius: 50%;
    position: relative;
}

.keyboard {
    position: absolute;
    bottom: 40px;
    right: 20px;
    width: 60px;
    height: 25px;
    background: #2a2a2a;
    border-radius: 4px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 4px;
    transform: perspective(100px) rotateX(10deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.key {
    width: 12px;
    height: 12px;
    background: #444;
    border-radius: 2px;
    animation: key-press 0.3s ease-in-out infinite;
}

.key:nth-child(1) { animation-delay: 0s; }
.key:nth-child(2) { animation-delay: 0.1s; }
.key:nth-child(3) { animation-delay: 0.2s; }

@keyframes key-press {
    0%, 100% { transform: translateY(0); background: #444; }
    50% { transform: translateY(3px); background: #666; }
}

/* Screen sharing participant */
.screen-sharing {
    background: linear-gradient(135deg, #3a4a6b, #2a3a5b);
}

.screen-content {
    width: 90%;
    height: 70%;
    background: #f0f0f0;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.presentation-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.control {
    width: 25px;
    height: 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    animation: control-bounce 1s ease-in-out infinite;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    margin-top: 20px;
}

.bar {
    width: 15px;
    background: #4a90e2;
    border-radius: 2px 2px 0 0;
    animation: bar-grow 3s ease-in-out infinite;
}

.bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.bar:nth-child(2) { height: 35px; animation-delay: 0.5s; }
.bar:nth-child(3) { height: 50px; animation-delay: 1s; }
.bar:nth-child(4) { height: 25px; animation-delay: 1.5s; }
.bar:nth-child(5) { height: 40px; animation-delay: 2s; }

@keyframes bar-grow {
    0% { transform: scaleY(0.8); }
    50% { transform: scaleY(1.1); }
    100% { transform: scaleY(0.8); }
}

/* Remove ambient effects and meeting controls styles */
.screen-glare,
.meeting-controls,
.ambient-effects,
.control-btn {
    display: none;
}

/* Adjust container margin since we removed bottom controls */
.meeting-container {
    margin-bottom: 0;
}

/* Zoom toolbar */
.zoom-toolbar {
    background: #1a1a1a;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #404040;
    height: 45px;
    min-height: 45px;
}

.toolbar-left, .toolbar-center, .toolbar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.toolbar-btn {
    background: #333;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.toolbar-btn:hover {
    background: #444;
}

.toolbar-btn.green {
    background: #2d8cff;
}

.toolbar-btn.green:hover {
    background: #2d7fff;
}

.toolbar-btn.red {
    background: #ff4444;
}

.toolbar-btn.red:hover {
    background: #ff3333;
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 11px;
}

/* Update meeting container height to account for toolbar */
.meeting-container {
    height: calc(100% - 77px); /* Subtract header and toolbar height */
}

/* Enhance participant hover effect */
.participant {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.participant:hover {
    transform: scale(1.01);
    border-color: #666;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Add speaking indicator animation */
.participant.speaking {
    border-color: #2d8cff;
    animation: speaking-pulse 2s ease-in-out infinite;
}

@keyframes speaking-pulse {
    0%, 100% { border-color: #2d8cff; }
    50% { border-color: #5aa5ff; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-text {
        display: none;
    }

    .toolbar-btn {
        min-width: 40px;
        padding: 6px;
    }

    .zoom-toolbar {
        height: 40px;
        min-height: 40px;
        padding: 4px 8px;
    }

    .meeting-container {
        height: calc(100% - 72px);
    }
}

@media (max-width: 480px) {
    .toolbar-center {
        gap: 4px;
    }

    .toolbar-btn {
        min-width: 32px;
        padding: 4px;
    }

    .btn-icon {
        font-size: 14px;
    }
}

/* Desktop Icons */
.desktop-icons {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1;
}

.desktop-icon {
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 3px;
}

.desktop-icon:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.icon-text {
    color: white;
    font-size: 12px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* View Controls */
.view-controls {
    background: #1a1a1a;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #404040;
}

.view-btn {
    background: transparent;
    border: none;
    color: #999;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
}

.view-btn:hover {
    background: rgba(255,255,255,0.1);
}

.view-btn.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

.recording-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff4444;
    font-size: 12px;
}

.recording-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: recording-pulse 2s ease-in-out infinite;
}

@keyframes recording-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Enhanced Toolbar */
.btn-caret {
    font-size: 8px;
    opacity: 0.7;
    margin-left: 2px;
}

/* System Notification */
.notification {
    position: fixed;
    bottom: 60px;
    right: 10px;
    width: 300px;
    background: rgba(36, 36, 36, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: notification-slide 5s ease-in-out forwards;
    z-index: 1000;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.notification-time {
    opacity: 0.7;
}

.notification-content {
    font-size: 13px;
}

@keyframes notification-slide {
    0% { transform: translateX(120%); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

/* Enhanced Taskbar */
.taskbar {
    background: rgba(36, 36, 36, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.taskbar-item {
    position: relative;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.taskbar-item:hover {
    background: rgba(255,255,255,0.1);
}

.taskbar-item.active {
    background: rgba(255,255,255,0.1);
    border-bottom-color: #2d8cff;
}

.tray-icon {
    padding: 0 4px;
    opacity: 0.8;
    cursor: pointer;
}

.tray-icon:hover {
    opacity: 1;
}

/* Update meeting container height */
.meeting-container {
    height: calc(100% - 120px); /* Account for header, toolbar, and view controls */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-icons {
        display: none;
    }

    .notification {
        width: 250px;
    }

    .view-controls {
        padding: 6px 10px;
    }

    .recording-indicator {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .view-controls {
        display: none;
    }

    .notification {
        width: calc(100% - 20px);
        bottom: 50px;
    }

    .meeting-container {
        height: calc(100% - 85px);
    }
}

/* Meeting container grid improvement */
.meeting-container {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    height: calc(100% - 32px);
    background: rgba(0,0,0,0.2);
}

@media (max-width: 1200px) {
    .meeting-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .meeting-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        padding: 12px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .meeting-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        padding: 8px;
        gap: 8px;
    }
}

/* Common avatar styles */
.participant-avatar,
.coffee-avatar,
.multitask-avatar,
.muted-talking-avatar,
.keyboard-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Specific avatar background colors */
.participant-avatar { background: #4a90e2; }
.coffee-avatar { background: #e67e22; }
.multitask-avatar { background: #9b59b6; }
.muted-talking-avatar { background: #3498db; }
.keyboard-avatar { background: #2ecc71; }

/* Coffee mug adjustments */
.coffee-mug {
    position: absolute;
    bottom: 35px;
    width: 35px;
    height: 25px;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .participant-avatar,
    .coffee-avatar,
    .multitask-avatar,
    .muted-talking-avatar,
    .keyboard-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .coffee-mug {
        width: 28px;
        height: 22px;
        bottom: 25px;
    }
}

@media (max-width: 480px) {
    .participant-avatar,
    .coffee-avatar,
    .multitask-avatar,
    .muted-talking-avatar,
    .keyboard-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .coffee-mug {
        width: 22px;
        height: 18px;
        bottom: 20px;
    }
}

/* Pet cameo participant */
.pet-cameo {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    position: relative;
    overflow: hidden;
}

.pet-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    animation: pet-bounce 2s infinite;
}

.pet-emoji {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes pet-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Background blur fail participant */
.blur-fail {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    position: relative;
    overflow: hidden;
}

.messy-room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='%23ffffff' fill-opacity='0.1'/%3E%3Cpath d='M10 10h80v80H10z' fill='%23000000' fill-opacity='0.1'/%3E%3C/svg%3E"),
        linear-gradient(45deg, rgba(149, 165, 166, 0.8), rgba(127, 140, 141, 0.8));
    z-index: -1;
}

.messy-room-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.1) 0px,
        rgba(0,0,0,0.1) 10px,
        rgba(0,0,0,0.15) 10px,
        rgba(0,0,0,0.15) 20px
    );
    animation: blur-glitch 4s infinite;
}

@keyframes blur-glitch {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
    75% { opacity: 0.8; }
}

/* Update participant avatar colors */
.participant-avatar.pet { background: #27ae60; }
.participant-avatar.blur { background: #7f8c8d; }

@media (max-width: 768px) {
    .pet-emoji {
        font-size: 24px;
    }
    
    .pet-overlay {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .pet-emoji {
        font-size: 20px;
    }
    
    .pet-overlay {
        bottom: 10px;
        right: 10px;
    }
}

/* Active speaker indicator */
.active-speaker-outline {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #2D8CFF;
    border-radius: 14px;
    animation: pulse-outline 2s infinite;
    pointer-events: none;
}

@keyframes pulse-outline {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.6; transform: scale(1); }
}

/* Floating reactions */
.reaction-bubble {
    position: absolute;
    animation: float-up 2s ease-out forwards;
    font-size: 24px;
    pointer-events: none;
    z-index: 100;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    20% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Network quality indicator */
.network-quality {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 10;
}

.signal-bar {
    width: 3px;
    height: 8px;
    background: #666;
    border-radius: 1px;
}

.signal-bar.active {
    background: #2ecc71;
}

/* Share screen preview */
.share-preview {
    position: absolute;
    bottom: 80px;
    right: 20px;
    width: 280px;
    height: 160px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 2px solid #404040;
    overflow: hidden;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.share-preview.visible {
    display: block;
}

.preview-header {
    padding: 8px;
    background: #1a1a1a;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-content {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preview-option {
    background: #404040;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}

.preview-option:hover {
    background: #505050;
}

/* View toggle animation */
.view-controls {
    transition: transform 0.3s ease;
}

.view-btn {
    position: relative;
    overflow: hidden;
}

.view-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.view-btn:hover::after {
    transform: translateX(0);
}

/* Enhanced toolbar */
.toolbar-btn {
    position: relative;
    overflow: hidden;
}

.toolbar-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.toolbar-btn:hover::after {
    transform: translateY(0);
}

.toolbar-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    margin-bottom: 5px;
}

.toolbar-btn:hover .toolbar-tooltip {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-preview {
        width: 200px;
        height: 120px;
        bottom: 60px;
    }

    .reaction-bubble {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .share-preview {
        display: none;
    }

    .network-quality {
        top: 8px;
        left: 8px;
        padding: 3px 6px;
    }
}

/* Quick emoji reaction bar */
.emoji-reaction-bar {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 45, 45, 0.95);
    border-radius: 30px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.emoji-reaction {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    position: relative;
}

.emoji-reaction:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

.emoji-reaction::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2D8CFF;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.emoji-reaction.has-reactions::after {
    opacity: 1;
    transform: scale(1);
}

/* Meeting timer and status */
.meeting-status {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 45, 45, 0.95);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.meeting-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timer-icon {
    color: #2ecc71;
}

.recording-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recording-dot {
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: recording-pulse 2s infinite;
}

/* Raised hands queue */
.raised-hands-panel {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(45, 45, 45, 0.95);
    border-radius: 12px;
    padding: 12px;
    width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.raised-hand-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.raised-hand-item:hover {
    background: rgba(255,255,255,0.1);
}

.hand-number {
    width: 20px;
    height: 20px;
    background: #2D8CFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Focus mode */
.focus-mode .participant:not(.speaking):not(:hover) {
    opacity: 0.5;
    filter: saturate(0.7);
    transition: all 0.3s;
}

/* Connection warning */
.connection-warning {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: warning-fade 0.3s ease-in;
}

.warning-icon {
    font-size: 16px;
    animation: warning-shake 0.8s infinite;
}

@keyframes warning-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes warning-fade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced toolbar button states */
.toolbar-btn.active {
    background: rgba(45, 140, 255, 0.2);
    border: 1px solid rgba(45, 140, 255, 0.4);
}

.toolbar-btn.active::after {
    background: rgba(45, 140, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .emoji-reaction-bar {
        bottom: 35px;
        padding: 6px;
        gap: 6px;
    }

    .emoji-reaction {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .raised-hands-panel {
        width: 160px;
        right: 10px;
    }

    .meeting-status {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .emoji-reaction-bar {
        bottom: 30px;
        padding: 4px;
        gap: 4px;
    }

    .emoji-reaction {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .raised-hands-panel {
        display: none;
    }

    .meeting-status {
        width: 90%;
        justify-content: center;
    }
}