/* Wing Snapshot Viewer - Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1115;
    color: #e2e8f0;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1d24; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Fader Styling */
input[type=range][orient=vertical] {
    writing-mode: vertical-lr;
    direction: rtl;
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    width: 8px;
    height: 200px;
    padding: 0 5px;
    background: transparent;
    outline: none;
}

.audio-node {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.glow-line {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; stroke-width: 2; }
    50% { opacity: 1; stroke-width: 3; }
}

.console-gradient {
    background: linear-gradient(180deg, #1f232b 0%, #15181d 100%);
    border: 1px solid #2d3340;
}

/* Restore list styles inside contentEditable notes editors (Tailwind preflight strips them) */
#notes-editor ul,
#notes-editor-main ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 0.25em 0;
}

#notes-editor ol,
#notes-editor-main ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin: 0.25em 0;
}

#notes-editor li,
#notes-editor-main li {
    margin: 0.15em 0;
}

/* Also style lists in the read-only notes display */
.prose-notes ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin: 0.25em 0;
}

.prose-notes ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin: 0.25em 0;
}

.prose-notes li {
    margin: 0.15em 0;
}

/* Initial loading spinner */
.initial-loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0f1115;
    z-index: 9999;
}
.initial-loader.hidden { display: none; }

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #1f232b;
    border-top-color: #22d3ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.border-3 {
    border-width: 3px;
}
