/* ============================================
   Video Generation Lab — Antigravity UI
   ============================================ */

/* ---- Layout & Header ---- */
.vlab-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    font-family: var(--font-body);
    color: var(--os-text-primary);
}

.vlab-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
}

.vlab-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.vlab-header p {
    color: var(--os-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.vlab-section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--os-text-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Glass Panel (Form) ---- */
.vlab-form-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    margin-bottom: 2.5rem;
}

/* ---- Field Groups ---- */
.vlab-field-group {
    margin-bottom: 1.5rem;
}

.vlab-label {
    display: block;
    color: var(--os-text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.vlab-label.accent {
    color: var(--os-accent-primary);
    font-weight: 600;
}

/* ---- Input Mode Toggle ---- */
.vlab-mode-toggle {
    display: inline-flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.vlab-mode-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--os-text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    user-select: none;
}

.vlab-mode-option:hover {
    color: var(--os-text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.vlab-mode-option input[type="radio"] {
    display: none;
}

.vlab-mode-option.active {
    color: var(--neon-cyan);
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.08);
}

/* ---- Lyric Selector ---- */
.vlab-lyric-row {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.vlab-lyric-select {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2rem;
}

.vlab-lyric-select:focus {
    border-color: var(--neon-cyan);
}

.vlab-lyric-select option {
    background: #1a1a2e;
    color: #fff;
}

.vlab-lyric-preview {
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--os-text-muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.vlab-lyric-preview.visible {
    max-height: 120px;
    opacity: 1;
}

.vlab-add-lyric-link {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--os-accent-primary);
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-mono);
    transition: color 0.2s;
}

.vlab-add-lyric-link:hover {
    color: var(--neon-cyan);
}

/* ---- Audio Drop Zone ---- */
.vlab-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0, 0, 0, 0.15);
}

.vlab-dropzone:hover {
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(0, 242, 255, 0.03);
}

.vlab-dropzone.dragover {
    border-color: var(--neon-cyan);
    background: rgba(0, 242, 255, 0.08);
    box-shadow: inset 0 0 30px rgba(0, 242, 255, 0.05);
}

.vlab-dropzone-icon {
    color: var(--os-text-muted);
    margin-bottom: 0.5rem;
}

.vlab-dropzone-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--os-text-muted);
}

.vlab-dropzone-text span {
    color: var(--neon-cyan);
    text-decoration: underline;
    cursor: pointer;
}

.vlab-dropzone input[type="file"] {
    display: none;
}

.vlab-file-info {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 242, 255, 0.06);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

.vlab-file-info.visible {
    display: flex;
}

.vlab-analyze-btn {
    margin-top: 0.8rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--os-text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.vlab-analyze-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ---- Provider Cards ---- */
.vlab-providers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.vlab-provider-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid transparent;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    user-select: none;
}

.vlab-provider-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.vlab-provider-card input[type="checkbox"] {
    display: none;
}

.vlab-provider-card .vlab-provider-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.vlab-provider-card .vlab-provider-model {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--os-text-muted);
}

.vlab-provider-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--os-text-muted);
    margin-top: 0.5rem;
}

.vlab-provider-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #555;
}

.vlab-provider-status .dot.live {
    background: #00ff66;
    box-shadow: 0 0 6px rgba(0, 255, 102, 0.5);
}

/* Provider color accents */
.vlab-provider-card.simulated { border-left-color: #666; }
.vlab-provider-card.openai { border-left-color: #10a37f; }
.vlab-provider-card.google { border-left-color: #4285f4; }
.vlab-provider-card.seedance { border-left-color: #b624ff; }

/* Selected state */
.vlab-provider-card.selected {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.vlab-provider-card.simulated.selected {
    border-left-color: #888;
    box-shadow: 0 0 15px rgba(136, 136, 136, 0.1);
}

.vlab-provider-card.openai.selected {
    border-left-color: #10a37f;
    box-shadow: 0 0 15px rgba(16, 163, 127, 0.15);
}

.vlab-provider-card.google.selected {
    border-left-color: #4285f4;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.15);
}

.vlab-provider-card.seedance.selected {
    border-left-color: #b624ff;
    box-shadow: 0 0 15px rgba(182, 36, 255, 0.15);
}

/* ---- Prompt Textarea ---- */
.vlab-prompt {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s;
    line-height: 1.5;
}

.vlab-prompt:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(182, 36, 255, 0.1);
}

.vlab-auto-prompt-btn {
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--os-text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.vlab-auto-prompt-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.vlab-auto-prompt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---- Bottom Row (Duration + Generate) ---- */
.vlab-bottom-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.vlab-duration-input {
    width: 160px;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.vlab-duration-input:focus {
    border-color: var(--neon-cyan);
}

.vlab-generate-btn {
    margin-left: auto;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.vlab-generate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(182, 36, 255, 0.25);
}

.vlab-generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---- Results Grid ---- */
.vlab-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    min-height: 100px;
}

/* ---- Result Cards ---- */
.vlab-result-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: cardFadeIn 0.4s ease;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.vlab-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.vlab-result-provider {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.vlab-result-provider.simulated { color: #888; }
.vlab-result-provider.openai { color: #10a37f; }
.vlab-result-provider.google { color: #4285f4; }
.vlab-result-provider.seedance { color: #b624ff; }

.vlab-result-status {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 600;
}

.vlab-result-status.processing {
    background: rgba(0, 242, 255, 0.1);
    color: var(--neon-cyan);
}

.vlab-result-status.completed {
    background: rgba(0, 255, 102, 0.1);
    color: #51cf66;
}

.vlab-result-status.failed {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
}

.vlab-result-media {
    background: #000;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    position: relative;
}

.vlab-result-media video,
.vlab-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.vlab-result-media .vlab-media-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vlab-result-prompt {
    font-size: 0.85rem;
    color: var(--os-text-secondary);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
    line-height: 1.5;
}

.vlab-save-btn {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--os-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: all 0.2s;
}

.vlab-save-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.vlab-save-btn.saved {
    color: #51cf66;
    border-color: rgba(81, 207, 102, 0.3);
}

/* ---- Cinematic Empty State ---- */
.vlab-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.vlab-empty-state::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 4px
    );
    pointer-events: none;
    animation: scanDrift 8s linear infinite;
}

@keyframes scanDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

.vlab-empty-icon {
    color: rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
    animation: emptyPulse 3s ease-in-out infinite;
}

@keyframes emptyPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.vlab-empty-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--os-text-muted);
    text-align: center;
}

.vlab-empty-subtext {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
    margin-top: 0.3rem;
}

/* ---- Generation History ---- */
.vlab-history-section {
    margin-bottom: 2rem;
}

.vlab-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.vlab-history-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.vlab-history-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.vlab-history-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.vlab-history-providers {
    display: flex;
    gap: 0.35rem;
}

.vlab-history-provider-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
}

.vlab-history-provider-badge.simulated { background: rgba(136,136,136,0.15); color: #888; }
.vlab-history-provider-badge.openai { background: rgba(16,163,127,0.15); color: #10a37f; }
.vlab-history-provider-badge.google { background: rgba(66,133,244,0.15); color: #4285f4; }
.vlab-history-provider-badge.seedance { background: rgba(182,36,255,0.15); color: #b624ff; }

.vlab-history-time {
    font-size: 0.7rem;
    color: var(--os-text-muted);
    font-family: var(--font-mono);
}

.vlab-history-prompt {
    font-size: 0.8rem;
    color: var(--os-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.vlab-history-empty {
    text-align: center;
    padding: 2rem;
    color: var(--os-text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* ---- Toast Notifications ---- */
.vlab-toast-container {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
}

.vlab-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    background: rgba(20, 20, 35, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: toastSlideIn 0.35s ease;
    position: relative;
    overflow: hidden;
}

.vlab-toast.exiting {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.vlab-toast-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.vlab-toast-message {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--os-text-primary);
    line-height: 1.4;
    flex: 1;
}

.vlab-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--os-text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.vlab-toast-close:hover {
    color: #fff;
}

.vlab-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0 0 10px 10px;
    animation: toastProgress linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Toast types */
.vlab-toast.success { border-left: 3px solid #51cf66; }
.vlab-toast.success .vlab-toast-icon { color: #51cf66; }
.vlab-toast.success .vlab-toast-progress { background: #51cf66; }

.vlab-toast.error { border-left: 3px solid #ff6b6b; }
.vlab-toast.error .vlab-toast-icon { color: #ff6b6b; }
.vlab-toast.error .vlab-toast-progress { background: #ff6b6b; }

.vlab-toast.info { border-left: 3px solid var(--neon-cyan); }
.vlab-toast.info .vlab-toast-icon { color: var(--neon-cyan); }
.vlab-toast.info .vlab-toast-progress { background: var(--neon-cyan); }

/* ---- Modal ---- */
.vlab-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.vlab-modal-overlay.open {
    display: flex;
}

.vlab-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    width: 520px;
    max-width: 90vw;
    backdrop-filter: blur(20px);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.vlab-modal h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
}

.vlab-modal-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    outline: none;
    transition: border-color 0.3s;
}

.vlab-modal-input:focus {
    border-color: var(--neon-purple);
}

.vlab-modal-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: border-color 0.3s;
}

.vlab-modal-textarea:focus {
    border-color: var(--neon-purple);
}

.vlab-modal-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.vlab-btn-secondary {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--os-text-primary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.2s;
}

.vlab-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vlab-btn-primary {
    padding: 0.6rem 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all 0.2s;
}

.vlab-btn-primary:hover {
    box-shadow: 0 2px 12px rgba(182, 36, 255, 0.2);
}

/* ---- Spin Animation ---- */
@keyframes vlabSpin {
    100% { transform: rotate(360deg); }
}

.vlab-spin {
    animation: vlabSpin 1.5s linear infinite;
}

/* ---- Loading Dots ---- */
.vlab-loading-dots {
    text-align: center;
    color: var(--os-text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .vlab-providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vlab-container {
        padding: 0 1rem;
    }

    .vlab-header h1 {
        font-size: 1.8rem;
    }

    .vlab-providers-grid {
        grid-template-columns: 1fr;
    }

    .vlab-results-grid,
    .vlab-history-grid {
        grid-template-columns: 1fr;
    }

    .vlab-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }

    .vlab-duration-input {
        width: 100%;
    }

    .vlab-generate-btn {
        margin-left: 0;
        justify-content: center;
    }

    .vlab-lyric-row {
        flex-direction: column;
    }
}
