/* ArcticSpaces Seestar Remote - Custom Theme */

/* Stream view: dark space background, centered video */
body.stream {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 30%, #0d1b2a 60%, #0a0a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Subtle star-like dots */
body.stream::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 45% 45%, rgba(100,180,255,0.3), transparent),
        radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 25% 90%, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Center the device view */
.device-view {
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

/* Phone frame effect around video */
.video {
    float: none !important;
    border-radius: 20px;
    box-shadow: 
        0 0 0 3px #222,
        0 0 0 5px #111,
        0 0 60px rgba(80, 120, 255, 0.15),
        0 0 120px rgba(80, 120, 255, 0.05);
}

/* Control buttons: semi-transparent, right side */
.control-buttons-list {
    background-color: rgba(20, 20, 40, 0.7) !important;
    border-radius: 12px;
    margin-left: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 140, 255, 0.15);
}

.control-button {
    background-color: transparent !important;
    opacity: 0.6;
}

.control-button:hover {
    opacity: 1;
}

.control-button > svg {
    fill: #8899cc !important;
}

/* Device list page styling */
body.list {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
}

body.list #devices {
    max-width: 800px;
    margin: 0 auto;
}

#devices .tracker-name {
    color: #8899cc;
    font-size: 1.1rem;
}

#devices .device-list div.device {
    background-color: rgba(20, 25, 50, 0.6) !important;
    border-bottom: 1px solid rgba(100, 140, 255, 0.1);
    transition: background-color 0.2s;
}

#devices .device-list div.device:hover {
    background-color: rgba(40, 50, 80, 0.8) !important;
}

#devices .device-list div.device:nth-child(2n) {
    background-color: rgba(25, 30, 55, 0.6) !important;
}

/* Hide the more-box overlay nicely */
.more-box {
    background-color: rgba(20, 20, 40, 0.95) !important;
    border: 1px solid rgba(100, 140, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}
