.workstations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
}

.workstation {
    position: relative;
    height: 80px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 80px; /* Ensure consistent width */
}

.workstation.empty {
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    border: 2px dashed #95a5a6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.workstation.occupied {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 2px solid #2980b9;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3), inset 0 1px 2px rgba(255,255,255,0.2);
}

.desk {
    width: 80%;
    height: 30px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border-radius: 4px;
    margin: 0 auto 0.5rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 2px rgba(255,255,255,0.2);
    border: 1px solid #654321;
}

.desk::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 2px;
    background: linear-gradient(90deg, #CD853F 0%, #DEB887 50%, #CD853F 100%);
    border-radius: 2px;
}

.desk::after {
    content: '';
    position: absolute;
    top: -12px;
    right: 15%;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 1px solid #1a252f;
    border-radius: 1px;
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.3),
        inset 0 1px 1px rgba(255,255,255,0.1);
}

/* Computer screen glow effect */
.desk::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 2px;
    background: linear-gradient(90deg, #CD853F 0%, #DEB887 50%, #CD853F 100%);
    border-radius: 2px;
}

/* Add a small computer base */
.workstation.occupied .desk::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 12%;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 1px solid #1a252f;
    border-radius: 1px;
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.3),
        inset 0 1px 1px rgba(255,255,255,0.1);
}

/* Computer screen with blue glow */
.workstation.occupied .desk::after {
    content: '';
    position: absolute;
    top: -13px;
    right: 13.5%;
    width: 9px;
    height: 6px;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    border: 1px solid #2980b9;
    border-radius: 1px;
    box-shadow: 
        0 0 3px rgba(52, 152, 219, 0.6),
        inset 0 1px 1px rgba(255,255,255,0.3);
}

.hire-btn {
    font-size: 0.7rem;
    color: #7f8c8d;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 32px; /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hire-btn:hover {
    background: #3498db;
    color: white;
}