/* VoxMaster AI Studio DAW Theme */
:root {
    --studio-bg: #090d16;
    --studio-card: #111827;
    --studio-card-border: #1f293d;
    --studio-cyan: #06b6d4;
    --studio-emerald: #10b981;
    --studio-rose: #f43f5e;
    --studio-amber: #f59e0b;
}

body {
    background-color: var(--studio-bg);
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Glassmorphism DAW Card */
.daw-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--studio-card-border);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.daw-card-glow {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

/* Waveform Canvas Wrappers */
.wave-container {
    background: #030712;
    border: 1px solid #1e293b;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

/* Glow Badges */
.badge-glow-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.badge-glow-cyan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid #06b6d4;
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.badge-glow-rose {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid #f43f5e;
    color: #fb7185;
    text-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
}

/* Preset Cards */
.preset-radio:checked + .preset-card {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

/* Drag and Drop Pulse */
.dropzone-active {
    border-color: #06b6d4 !important;
    background: rgba(6, 182, 212, 0.08) !important;
    transform: scale(1.01);
}

/* A/B Switch LED */
.led-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s ease;
}

.led-on-cyan {
    background: #06b6d4;
    box-shadow: 0 0 12px #06b6d4, 0 0 4px #fff;
}

.led-on-emerald {
    background: #10b981;
    box-shadow: 0 0 12px #10b981, 0 0 4px #fff;
}

.led-on-rose {
    background: #f43f5e;
    box-shadow: 0 0 12px #f43f5e, 0 0 4px #fff;
}

.led-off {
    background: #374151;
    box-shadow: none;
}

/* Spectrogram wrapper styling */
.spectrogram-wrapper {
    height: 90px;
    width: 100%;
    background: #050811;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #1f293d;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}

/* Studio Telemetry Bar */
.telemetry-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.4);
    font-size: 0.6875rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* VU Meter LED Segments */
.vu-meter-bar {
    display: flex;
    gap: 2px;
    height: 12px;
    background: #050811;
    padding: 2px;
    border-radius: 3px;
    border: 1px solid #1e293b;
    align-items: center;
}

.vu-segment {
    flex: 1;
    height: 10px;
    border-radius: 1px;
    background: #111827;
    transition: background 0.04s ease-out, box-shadow 0.04s ease-out;
}

.vu-segment.vu-green {
    background: rgba(16, 185, 129, 0.15);
}

.vu-segment.vu-yellow {
    background: rgba(245, 158, 11, 0.15);
}

.vu-segment.vu-red {
    background: rgba(239, 68, 68, 0.15);
}

.vu-segment.vu-green.active {
    background: #10b981 !important;
    box-shadow: 0 0 8px #10b981, 0 0 2px #fff !important;
}

.vu-segment.vu-yellow.active {
    background: #f59e0b !important;
    box-shadow: 0 0 8px #f59e0b, 0 0 2px #fff !important;
}

.vu-segment.vu-red.active {
    background: #ef4444 !important;
    box-shadow: 0 0 10px #ef4444, 0 0 3px #fff !important;
}

/* Print Styles for Scientific Certificate */
@media print {
    body * {
        visibility: hidden;
    }
    #scientific-report-modal, #scientific-report-modal * {
        visibility: visible;
    }
    #scientific-report-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white !important;
        color: black !important;
    }
    .no-print {
        display: none !important;
    }
}
