/* Metatron Visualizer - Global Styles */
@import url('fonts.css');

/* Base */
body {
    margin: 0;
    overflow: hidden;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    color: #fff;
    background: #000;
    font-weight: 400;
    letter-spacing: 0.5px;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #000;
}

/* Utilities */
.color-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.small-label {
    font-size: 0.8em;
    color: #888;
    margin-top: 8px;
}

.sub-controls {
    margin-top: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(78, 205, 196, 0.2);
}

#videoInput {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .view-controls {
        position: fixed;
        top: 0;
        left: 8px;
        z-index: 3000;
    }

    #controls {
        position: fixed;
        left: 8px;
        right: 8px;
        top: 64px;
        width: auto;
        border-radius: 18px;
        padding: 24px 6px 18px 6px;
        max-height: calc(100vh - 80px);
        height: auto;
        background: rgba(30, 30, 50, 0.85) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
        overflow-y: auto;
        z-index: 2000;
        transition: transform 0.3s ease-out, box-shadow 0.2s, background 0.2s;
    }

    #controls.hide-panel {
        transform: translateY(100vh) !important;
        transition: transform 0.3s ease-out;
    }

    .panel-section {
        margin-bottom: 16px;
        padding-bottom: 8px;
    }

    .control-group {
        margin-bottom: 12px;
    }

    .collapsible {
        font-size: 1em !important;
        padding: 12px 0 !important;
        min-height: 44px !important;
    }
}

@media (max-width: 768px) {
    #controls {
        left: 8px !important;
        top: 60px !important;
        width: calc(100vw - 16px) !important;
        max-width: 360px !important;
        right: auto !important;
    }

    .view-controls {
        top: 10px !important;
        left: 10px !important;
        gap: 8px !important;
    }

    .icon-button {
        width: 36px !important;
        height: 36px !important;
    }
}
