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

:root {
    --desk-color: #8B4513;
    --desk-shadow: #654321;
    --monitor-color: #2c3e50;
    --keyboard-color: #34495e;
    --carpet-base: #4d7373;
    --carpet-pattern: #3d5c5c;
    --wall-color: #e6e6e6;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--carpet-base);
    overflow: hidden;
}

.office-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: 
        /* Carpet tile pattern */
        linear-gradient(45deg, 
            var(--carpet-pattern) 25%, 
            transparent 25%, 
            transparent 75%, 
            var(--carpet-pattern) 75%
        ),
        linear-gradient(45deg, 
            var(--carpet-pattern) 25%, 
            transparent 25%, 
            transparent 75%, 
            var(--carpet-pattern) 75%
        ),
        /* Subtle texture overlay */
        linear-gradient(90deg,
            rgba(255,255,255,0.03) 1px,
            transparent 1px
        ),
        linear-gradient(0deg,
            rgba(255,255,255,0.03) 1px,
            transparent 1px
        ),
        /* Base carpet color */
        var(--carpet-base);
    background-position: 
        0 0,
        25px 25px,
        0 0,
        0 0;
    background-size: 
        50px 50px,
        50px 50px,
        10px 10px,
        10px 10px;
    overflow: auto;
}

.office-layout {
    width: 100%;
    height: 90%;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    margin-top: 70px;
}

/* Remove the wall-floor transition shadow since we're using carpet everywhere */
.office-layout::after {
    display: none;
}

/* Update room styles to make them pop against the carpet */
.break-room, .bathroom, .cafeteria {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.98);
}

/* Break Room Styles */
.break-room {
    position: absolute;
    width: 200px;
    height: 150px;
    right: 20px;
    bottom: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-bottom: 20px;
}

.break-room-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #3498db;
}

.water-cooler {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 60px;
}

.cooler-top {
    width: 20px;
    height: 20px;
    background-color: #3498db;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cooler-body {
    width: 30px;
    height: 40px;
    background: linear-gradient(to right, #3498db 0%, #5dade2 50%, #3498db 100%);
    border-radius: 5px;
    position: absolute;
    top: 20px;
}

.cooler-base {
    width: 35px;
    height: 10px;
    background-color: #2980b9;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.coffee-machine {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 45px;
}

.coffee-top {
    width: 30px;
    height: 15px;
    background-color: #e74c3c;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.coffee-body {
    width: 40px;
    height: 30px;
    background: linear-gradient(to right, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    border-radius: 5px;
    position: absolute;
    bottom: 0;
}

.break-table {
    position: absolute;
    width: 80px;
    height: 50px;
    background-color: #95a5a6;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 0 #7f8c8d;
}

/* Cafeteria Styles */
.cafeteria {
    position: absolute;
    width: 300px;
    height: 200px;
    right: 20px;
    bottom: 100px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.cafeteria-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #f39c12;
}

.food-counter {
    position: absolute;
    width: 280px;
    height: 60px;
    top: 10px;
    left: 10px;
    background-color: #95a5a6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.counter-top {
    position: absolute;
    width: 100%;
    height: 15px;
    background-color: #7f8c8d;
    border-radius: 8px 8px 0 0;
}

.food-display {
    position: absolute;
    width: 260px;
    height: 35px;
    bottom: 5px;
    left: 10px;
    display: flex;
    gap: 15px;
    padding: 5px;
    align-items: center;
}

/* Food Items */
.food-item {
    position: relative;
    height: 25px;
    display: flex;
    align-items: center;
}

.plate {
    width: 30px;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 15px;
    position: relative;
    margin-right: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.sandwich {
    position: absolute;
    width: 24px;
    height: 16px;
    background: linear-gradient(
        to bottom,
        #e67e22 3px,  /* bread top */
        #27ae60 3px, #27ae60 6px,  /* lettuce */
        #c0392b 6px, #c0392b 9px,  /* tomato */
        #f1c40f 9px, #f1c40f 12px,  /* cheese */
        #e67e22 12px  /* bread bottom */
    );
    border-radius: 3px;
    top: 2px;
    left: 3px;
}

.salad-bowl {
    position: absolute;
    width: 26px;
    height: 16px;
    background-color: #ecf0f1;
    border-radius: 13px 13px 5px 5px;
    top: 2px;
    left: 45px;
    overflow: hidden;
}

.salad {
    position: absolute;
    width: 22px;
    height: 12px;
    background: linear-gradient(45deg,
        #27ae60 25%,
        #2ecc71 25%,
        #2ecc71 50%,
        #27ae60 50%,
        #27ae60 75%,
        #2ecc71 75%
    );
    background-size: 8px 8px;
    top: 2px;
    left: 2px;
    border-radius: 6px;
}

.soup-bowl {
    position: absolute;
    width: 24px;
    height: 16px;
    background: #e74c3c;
    border-radius: 12px 12px 6px 6px;
    top: 2px;
    left: 85px;
    overflow: hidden;
}

.soup-surface {
    position: absolute;
    width: 20px;
    height: 8px;
    background: #c0392b;
    border-radius: 10px 10px 0 0;
    top: 2px;
    left: 2px;
}

.dessert {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 125px;
    top: 0;
}

.cake {
    position: absolute;
    width: 20px;
    height: 14px;
    background: linear-gradient(
        to bottom,
        #e74c3c 0px, #e74c3c 2px,  /* frosting */
        #f1c40f 2px, #f1c40f 8px,  /* cake */
        #8e44ad 8px  /* bottom layer */
    );
    border-radius: 3px;
}

.fruit-bowl {
    position: absolute;
    width: 28px;
    height: 18px;
    left: 160px;
    top: 2px;
}

.bowl {
    position: absolute;
    width: 28px;
    height: 14px;
    background-color: #ecf0f1;
    border-radius: 14px 14px 7px 7px;
}

.fruits {
    position: absolute;
    width: 24px;
    height: 10px;
    top: 2px;
    left: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
}

.fruit {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.fruit:nth-child(1) { background-color: #e74c3c; }  /* apple */
.fruit:nth-child(2) { background-color: #f1c40f; }  /* orange */
.fruit:nth-child(3) { background-color: #9b59b6; }  /* grape */
.fruit:nth-child(4) { background-color: #2ecc71; }  /* pear */

.drinks {
    position: absolute;
    right: 15px;
    top: 2px;
    display: flex;
    gap: 8px;
}

.drink {
    width: 12px;
    height: 18px;
    background-color: #3498db;
    border-radius: 2px;
    position: relative;
}

.drink::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.drink:nth-child(2) { background-color: #e67e22; }
.drink:nth-child(3) { background-color: #27ae60; }

.cafeteria-tables {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 280px;
    height: 110px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.cafe-table {
    width: 70px;
    height: 70px;
    background-color: #95a5a6;
    border-radius: 50%;
    box-shadow: 0 4px 0 #7f8c8d;
}

/* Bathroom Styles */
.bathroom {
    position: absolute;
    width: 120px;
    height: 100px;
    right: 20px;
    top: 200px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bathroom-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bathroom-door {
    position: absolute;
    width: 40px;
    height: 70px;
    background-color: #95a5a6;
    right: 10px;
    top: 15px;
    border-radius: 5px;
    box-shadow: -2px 0 0 #7f8c8d;
}

/* Desk Styles */
.desk {
    position: absolute;
    width: 120px;
    height: 80px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
    transform: translate(0, 0); /* Reset any transform */
}

.desk.vacant {
    opacity: 0.7;
}

.desk-info {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #333;
    border: 1px solid #ddd;
    z-index: 10;
}

.name-tag {
    background-color: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
}

.status-available {
    background-color: #2ecc71;
    color: white;
}

.status-talking {
    background-color: #f1c40f;
    color: #2c3e50;
}

.status-away {
    background-color: #e74c3c;
    color: white;
}

.status-vacation {
    background-color: #95a5a6;
    color: white;
}

.monitor {
    width: 60px;
    height: 40px;
    background-color: var(--monitor-color);
    border-radius: 5px;
    position: relative;
    margin-top: 5px;
}

.monitor::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 8px;
    background-color: var(--monitor-color);
    border-radius: 0 0 5px 5px;
}

.keyboard {
    width: 50px;
    height: 8px;
    background-color: var(--keyboard-color);
    border-radius: 3px;
    margin-top: 12px;
}

/* Person Styles */
.person {
    position: absolute;
    width: 30px;
    height: 50px;
    transform: translate(-50%, -50%); /* Center the person on their coordinate point */
    z-index: 10;
    transition: transform 0.3s ease;
}

.person .head {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ffdbac;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.person .body {
    position: absolute;
    width: 20px;
    height: 25px;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

.person .arm {
    position: absolute;
    width: 6px;
    height: 18px;
    top: 16px;
    background-color: inherit;
    border-radius: 3px;
}

.person .arm.left-arm {
    left: 2px;
    transform-origin: top center;
}

.person .arm.right-arm {
    right: 2px;
    transform-origin: top center;
}

.person .leg {
    position: absolute;
    width: 6px;
    height: 15px;
    bottom: 0;
    background-color: #2c3e50;
    border-radius: 3px;
}

.person .leg.left-leg {
    left: 6px;
    transform-origin: top center;
}

.person .leg.right-leg {
    right: 6px;
    transform-origin: top center;
}

/* Animation States */
.person.walking .arm.left-arm {
    animation: armSwing 0.5s infinite alternate ease-in-out;
}

.person.walking .arm.right-arm {
    animation: armSwing 0.5s infinite alternate-reverse ease-in-out;
}

.person.walking .leg.left-leg {
    animation: legSwing 0.5s infinite alternate ease-in-out;
}

.person.walking .leg.right-leg {
    animation: legSwing 0.5s infinite alternate-reverse ease-in-out;
}

.person.sitting {
    transform: scale(0.85);
}

.person.on-call .arm.right-arm {
    transform: rotate(-45deg);
}

@keyframes armSwing {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

@keyframes legSwing {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(15deg); }
}

/* Update Person Styles for phone animation */
.person .phone {
    position: absolute;
    width: 8px;
    height: 14px;
    background-color: #2c3e50;
    border-radius: 2px;
    top: 18px;
    right: -6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.person.on-call .phone {
    opacity: 1;
}

.person.on-call {
    animation: talking 1s infinite alternate ease-in-out;
}

@keyframes talking {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

/* Controls */
.controls {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.95) 100%);
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.control-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.control-button i {
    font-size: 16px;
}

.control-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 70%);
}

.control-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.control-button.stop {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.control-button.stop:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 70%);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    margin-left: 10px;
}

.volume-control i {
    color: white;
    font-size: 16px;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.call-info-popup {
    position: absolute;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
}

.call-info-popup h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.call-info-popup p {
    margin: 5px 0;
    color: #34495e;
    font-size: 14px;
}

.call-info-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
}

.call-info-popup .close-popup:hover {
    background-color: #c0392b;
    transform: none;
}

/* Add a subtle hover effect to clickable elements during calls */
.person.on-call,
.person.on-call + .desk-info,
.desk:has(.desk-info:contains("On Call")) {
    cursor: pointer;
}

.person.on-call:hover,
.desk:has(.desk-info:contains("On Call")):hover {
    filter: brightness(1.1);
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 0 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-label {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #2c3e50;
    font-weight: bold;
}

.team-selector {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #2c3e50;
    background-color: white;
    cursor: pointer;
    outline: none;
    min-width: 150px;
    margin-right: 20px;
}

.team-selector:hover {
    border-color: #3498db;
}

.team-selector:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.queue-monitor {
    position: absolute;
    width: 300px;
    height: 600px;
    left: 20px;
    top: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    z-index: 100;
}

.queue-monitor-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.queue-label {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    padding-bottom: 5px;
    border-bottom: 2px solid #3498db;
}

.queue-selector {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
    background-color: white;
    cursor: pointer;
    outline: none;
}

.queue-selector:hover {
    border-color: #3498db;
}

.queue-selector:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.queue-stats {
    display: flex;
    gap: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

.queue-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 8px;
}

.queue-item {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.queue-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.queue-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.customer-name {
    font-weight: bold;
    color: #2c3e50;
}

.wait-time {
    color: #e74c3c;
    font-size: 12px;
}

.wait-time.warning {
    color: #f39c12;
}

.wait-time.critical {
    color: #c0392b;
}

.customer-info {
    font-size: 12px;
    color: #7f8c8d;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reason-for-contact {
    font-size: 13px;
    color: #34495e;
    margin-top: 5px;
}

.priority-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
}

.priority-high {
    background-color: #e74c3c;
}

.priority-medium {
    background-color: #f39c12;
}

.priority-low {
    background-color: #2ecc71;
}

/* Add custom scrollbar styling */
.queue-list::-webkit-scrollbar {
    width: 8px;
}

.queue-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.queue-list::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 4px;
}

.queue-list::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}

.company-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '😢';
    font-size: 24px;
    transform: translateY(-1px);
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(120deg, #ffffff 0%, #ecf0f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-stats {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 6px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.angry-customer {
    z-index: 1000;
    animation: shake 0.5s infinite;
}

.angry-bubble {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: bounce 0.5s infinite alternate;
    color: #e74c3c;
}

.angry-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

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

@keyframes bounce {
    from { transform: translateY(0) translateX(-50%); }
    to { transform: translateY(-5px) translateX(-50%); }
}

.header-stats .longest-wait .stat-value {
    transition: color 0.3s ease;
}

.header-stats .longest-wait.critical .stat-value {
    color: #e74c3c;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
} 