body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: white;
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hud-panel {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    z-index: 100;
    transition: all 0.3s ease;
}

#top-bar {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    min-width: 600px;
    justify-content: center;
    align-items: center;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.1em;
    font-weight: bold;
}

#hotel-name[contenteditable="true"]:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#left-panel {
    top: 70px;
    left: 10px;
    width: 250px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
}

#left-panel.collapsed {
    left: -200px;
}

#right-panel {
    top: 70px;
    right: 10px;
    width: 280px;
    bottom: 70px;
    display: flex;
    flex-direction: column;
}

#right-panel.collapsed {
    right: -230px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.2em;
}

#bottom-bar {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
}

.speed-controls {
    display: flex;
    gap: 5px;
}

.speed-btn {
    background: #333;
    border: 1px solid #444;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

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

.speed-btn.active {
    background: #4a90e2;
    border-color: #4a90e2;
}

#save-indicator {
    font-size: 0.9em;
    color: #4ae24a;
    animation: pulse 1.5s infinite;
}

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

.hidden {
    display: none !important;
}
