body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f7;
    /* Светлый фон Apple style */
}

#cesiumContainer {
    width: 100%;
    height: 100%;
}

/* Панель слоев */
.layer-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layer-title {
    font-size: 14px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Кнопки переключения */
.layer-btn {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f2f2f7;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
}

.layer-btn:hover {
    background: #e5e5ea;
}

.layer-btn.active {
    background: #007AFF;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.opacity-control {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5ea;
}

.opacity-control input {
    width: 100%;
    accent-color: #007AFF;
}

/* Легенда */
.legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 99;
    display: none;
    min-width: 180px;
}

.legend.visible {
    display: block;
}

.legend-title {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #1d1d1f;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
}

.legend-label {
    font-weight: 500;
}