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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#panorama-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}

#panorama {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: left center;
    display: flex;
}

#panorama img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
}

#controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

#datetime {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100;
    backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
}

#weather-box {
    position: fixed;
    top: 70px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100;
    backdrop-filter: blur(10px);
    min-width: 200px;
    display: flex;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
}

#weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

#weather-icon {
    width: 32px;
    height: 32px;
    display: none;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 50%;
    padding: 2px;
}

#weather-icon.loaded {
    display: block;
}

#weather-temp {
    font-weight: 600;
    white-space: nowrap;
}

select {
    background: #4ade80;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

select:hover {
    background: #22c55e;
}

select:focus {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #4ade80;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 50;
}

#error-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 38, 38, 0.95);
    color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    z-index: 100;
    display: none;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#error-message.visible {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
