.employee {
    position: absolute;
    width: 25px;
    height: 45px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: working 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

/* Remove glow for low motivation */
.employee[data-motivation="low"] {
    animation: working 2s ease-in-out infinite;
}

@keyframes lowMotivationPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(231, 76, 60, 0.6); }
    50% { box-shadow: 0 0 25px rgba(231, 76, 60, 0.8); }
}

.employee.away {
    opacity: 0;
    pointer-events: none;
}

.employee:hover {
    transform: translateX(-50%) scale(1.1);
    filter: brightness(1.2);
}

.employee::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--skin-tone, #fdbcb4);
    border-radius: 50%;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #f39c12;
}

.employee::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 20px;
    background: var(--shirt-color, #3498db);
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    border: 1px solid var(--shirt-border, #2980b9);
}

@keyframes working {
    0%, 100% { transform: translateX(-50%) rotate(-2deg); }
    50% { transform: translateX(-50%) rotate(2deg); }
}

.employee-list {
    max-height: 200px;
    overflow-y: auto;
}

.employee-item {
    background: #ecf0f1;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.employee-stats {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.no-employees {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 1rem;
}

.employee-quote {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    color: #f1c40f;
    white-space: nowrap;
    max-width: 120px;
    text-align: center;
    box-shadow: none;
    z-index: 10;
    animation: quoteAppear 0.5s ease-out;
    pointer-events: none;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.employee-quote::after {
    display: none;
}

.employee-quote.fade-out {
    animation: quoteFadeOut 0.5s ease-in forwards;
}

@keyframes quoteAppear {
    0% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px) scale(0.8); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) scale(1); 
    }
}

@keyframes quoteFadeOut {
    0% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-10px) scale(0.8); 
    }
}