:root {
    --bg-dark: #0c0f17;
    --bg-surface: #141923;
    --bg-card: #1a202c;
    --bg-input: #232b3b;
    --border-color: #2d3748;
    --border-hover: #4a5568;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.25);
    --red: #ef4444;
    --red-hover: #dc2626;
    --green: #10b981;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
}

html {
    font-size: 14.5px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
    overflow-x: clip !important;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.studio-header {
    background: rgba(20, 25, 35, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.header-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-icon i {
    margin-left: 3px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-pill {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Workspace */
.studio-workspace {
    flex: 1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.75rem 1rem 2rem 1rem !important;
    box-sizing: border-box;
    overflow-x: clip !important;
}

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

@media (max-width: 1100px) {
    .workspace-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.publish-column {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.scenes-column, .scenes-container {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 1.1rem;
}

.card-header {
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.card-header h2 {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1rem 1.15rem;
}

/* Forms & Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
    min-width: 0;
}

.mb-3 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.text-hint { font-size: 0.8rem; color: var(--text-muted); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.52rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
}

/* Multi-Music Dropzone */
.music-dropzone {
    border: 2px dashed var(--border-color);
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.6rem;
}

.music-dropzone:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
}

.music-dropzone i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.music-file-list {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.music-tag {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.music-tag .remove-music {
    color: var(--red);
    cursor: pointer;
    font-weight: 700;
    margin-left: 0.8rem;
}

/* Scenes Section */
.scenes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.scenes-header > div:first-child {
    min-width: 0;
    flex: 1 1 260px;
}

.scenes-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
}

.scenes-stats {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
    min-width: 0;
}

.scenes-stats .btn {
    font-size: 0.8rem;
    padding: 0.36rem 0.65rem;
}

.stat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.32rem 0.7rem;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.scenes-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

/* Scene Card */
.scene-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 0.95rem;
    align-items: start;
    transition: all 0.2s;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 680px) {
    .scene-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.scene-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.scene-thumb-area {
    width: 125px;
    height: 90px;
    border-radius: var(--radius-sm);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.scene-thumb-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-thumb-area .upload-prompt {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0.3rem;
}

.scene-thumb-area i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.scene-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
    width: 100%;
}

.scene-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.scene-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.scene-actions {
    display: flex;
    gap: 0.4rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--red);
    border-color: var(--red);
}

.btn-add-scene {
    width: 100%;
    padding: 1.1rem;
    background: rgba(99, 102, 241, 0.08);
    border: 2px dashed rgba(99, 102, 241, 0.4);
    color: #818cf8;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-scene:hover {
    background: rgba(99, 102, 241, 0.16);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Command Dropdown Styling */
.command-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.command-optgroup {
    font-weight: 700;
    color: var(--accent);
    background-color: var(--bg-surface);
}

/* Video Monitor & Player */
.video-preview-wrapper {
    background: #000;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.video-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.video-placeholder i {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    opacity: 0.4;
}

.video-placeholder p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Render Progress */
.render-progress, .publish-progress {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-sm);
    margin-top: 0.8rem;
    font-size: 0.86rem;
    color: #a5b4fc;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.publish-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.88rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

.modal-info {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.client-secret-box {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.86rem;
}

.client-secret-box.found {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.client-secret-box.missing {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.channel-table {
    width: 100%;
    border-collapse: collapse;
}

.channel-table th, .channel-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.86rem;
}

.channel-table th {
    background: var(--bg-surface);
    color: var(--text-muted);
    font-weight: 600;
}

/* =======================================================
   12 Channels Analytics Dashboard Bar (Kırmızı Bölge)
   ======================================================= */
.channels-analytics-bar {
    background: #111622;
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    margin-bottom: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.analytics-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bar-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.channels-cards-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 0.45rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.channel-card-stat {
    background: rgba(22, 27, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.channel-card-stat:hover {
    border-color: #ef4444;
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.channel-card-stat .ch-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: block;
    overflow: hidden;
    background: #0f172a;
}

.channel-card-stat .ch-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.channel-card-stat .ch-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.2;
}

.channel-card-stat .ch-metrics {
    font-size: 0.62rem;
    color: #94a3b8;
    display: flex;
    gap: 0.35rem;
    white-space: nowrap;
    line-height: 1.1;
}

.channel-card-stat .ch-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.channel-card-stat .ch-metrics span i {
    font-size: 0.56rem;
    opacity: 0.75;
}

.channel-card-stat .ch-metrics span strong {
    color: #38bdf8;
    font-weight: 600;
}

.channel-card-stat .ch-actions-end {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    flex-shrink: 0;
}

.channel-card-stat .ch-link-icon {
    color: #ef4444;
    font-size: 0.85rem;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}

.channel-card-stat:hover .ch-link-icon {
    opacity: 1;
    transform: scale(1.1);
}

.btn-card-quick-select {
    padding: 0.12rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-card-quick-select:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.sidebar-avatar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-ch-name {
    text-decoration: none;
    color: #f1f5f9;
    transition: color 0.15s;
}

.sidebar-ch-name:hover {
    color: #ef4444;
}

.loading-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
}

/* =======================================================
   Sidebar 12 Channels Live Overview Panel
   ======================================================= */
.channels-overview-card {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: #0f172a;
}

.channels-overview-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.summary-pill {
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sidebar-channels-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.sidebar-channels-list::-webkit-scrollbar {
    width: 5px;
}

.sidebar-channels-list::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

.sidebar-channel-item {
    background: #182234;
    border: 1px solid #293548;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-channel-item:hover {
    border-color: #ef4444;
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.sidebar-channel-item.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.14);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}

.sidebar-ch-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ef4444;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

.sidebar-ch-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sidebar-ch-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}

.sidebar-ch-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-ch-lang {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #334155;
    color: #94a3b8;
    text-transform: uppercase;
}

.sidebar-ch-metrics {
    display: flex;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.sidebar-ch-metrics strong {
    color: #38bdf8;
}

.sidebar-ch-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-sidebar-select {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.15s;
}

.sidebar-channel-item.active .btn-sidebar-select,
.sidebar-channel-item:hover .btn-sidebar-select {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.btn-sidebar-yt {
    color: #ef4444;
    font-size: 0.95rem;
    padding: 0.25rem;
    opacity: 0.8;
    transition: opacity 0.2s;
    text-decoration: none;
}

.btn-sidebar-yt:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* =======================================================
   AI Scenario Button & Modal Styling
   ======================================================= */
.btn-ai-scenario {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ai-scenario:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
}

.align-end {
    align-items: flex-end;
}

.modal-lg {
    max-width: 950px;
}

.ai-controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ai-script-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #f472b6;
}

.ai-alternatives-container {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.alternatives-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.alt-tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.alt-tab-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.alt-tab-btn.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8b5cf6;
    color: #c084fc;
}

.alternative-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    max-height: 380px;
    overflow-y: auto;
}

.alt-scene-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.alt-scene-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.alt-scene-cmd {
    font-weight: 700;
    color: #818cf8;
    font-size: 0.82rem;
}

.alt-scene-narration {
    font-size: 0.88rem;
    color: #e2e8f0;
    margin-bottom: 0.3rem;
}

.alt-scene-translation {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

.btn-green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* =======================================================
   YouTube Audio Library Tabs & Grid
   ======================================================= */
.music-tabs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.music-tab-btn {
    flex: 1;
    padding: 0.65rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.music-tab-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.music-tab-btn.active {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--red);
    color: #f87171;
}

.audio-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.8rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.3rem;
    margin-bottom: 1rem;
}

.audio-track-card {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.2s;
}

.audio-track-card:hover {
    border-color: var(--red);
}

.track-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-badge {
    font-size: 0.68rem;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.track-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.track-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.btn-track-play {
    flex: 1;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.btn-track-add {
    flex: 1;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.active-music-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin-top: 0.8rem;
}

.active-music-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.no-music-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* =======================================================
   Two-Column Scene Voiceover & Translation Layout
   ======================================================= */
.scene-voiceover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.6rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1050px) {
    .scene-voiceover-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.voiceover-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.voiceover-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap !important;
    gap: 0.35rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.voiceover-col textarea, .scene-details textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    padding: 0.55rem 0.8rem !important;
    box-sizing: border-box !important;
}

.lang-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.76rem;
}

/* =======================================================
   Enlarged Video Monitor
   ======================================================= */
.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resolution-badge {
    font-size: 0.72rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.video-preview-wrapper.enlarged {
    min-height: 290px;
    aspect-ratio: 16/9;
}

@media (min-width: 1400px) {
    .workspace-grid {
        grid-template-columns: 1fr 620px;
    }
    .video-preview-wrapper.enlarged {
        min-height: 350px;
    }
}

/* Aspect Ratio Selector */
.aspect-ratio-selector {
    display: flex;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3px;
    gap: 3px;
}

.aspect-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.aspect-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px var(--accent-glow);
}

/* Vertical 9:16 Shorts Video Preview */
.video-preview-wrapper.aspect-9-16 {
    aspect-ratio: 9/16 !important;
    max-width: 320px;
    margin: 0 auto 1.25rem auto;
    min-height: 480px;
}

/* Inline Scene Voice Preview Button */
.btn-preview-scene-voice {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-preview-scene-voice:hover {
    background: var(--accent);
    color: #fff;
}

.voice-duration-pill {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.3rem;
}

/* Scene Translate Button */
.btn-translate-scene {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.btn-translate-scene:hover {
    background: var(--green);
    color: #fff;
}

/* Scene Media Badge (Video vs Image) */
.scene-media-type-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Canva Overlay Editor */
.overlay-editor-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.overlay-editor-header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.02);
}

.overlay-editor-header:hover {
    background: rgba(99, 102, 241, 0.05);
}

.overlay-editor-body {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.overlay-tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-tool {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-tool:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.emoji-stickers-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.4rem 0;
}

.emoji-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s;
    user-select: none;
}

.emoji-item:hover {
    transform: scale(1.2);
    border-color: var(--accent);
}

.overlay-layers-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 140px;
    overflow-y: auto;
}

.overlay-layer-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
}

/* ========================================================
   MANUAL SCRIPT WRITING & SCENE SPLITTER PANEL
   ======================================================== */
.manual-script-box {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease;
}

.manual-script-box:focus-within {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.12);
}

.manual-script-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.manual-script-title label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.manual-script-textarea {
    width: 100%;
    min-height: 110px;
    max-height: 280px;
    padding: 0.85rem 1rem;
    background-color: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.92rem;
    line-height: 1.55;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.manual-script-textarea:focus {
    background-color: rgba(15, 23, 42, 0.95);
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
    outline: none;
}

.manual-script-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.script-live-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.84rem;
    color: #94a3b8;
}

.stat-badge strong {
    color: #f1f5f9;
    font-weight: 700;
}

.stat-badge.badge-purple {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.stat-badge.badge-purple strong {
    color: #f3e8ff;
}

.script-split-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.char-limit-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.char-limit-num {
    width: 72px !important;
    padding: 0.35rem 0.5rem !important;
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    border-radius: 6px;
}

.char-presets-group {
    display: flex;
    gap: 0.25rem;
}

.btn-preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 5px;
    padding: 0.32rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-preset:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-preset.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.script-split-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.btn-split-scenes {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: #ffffff;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
    transition: all 0.2s ease;
}

.btn-split-scenes:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5);
    filter: brightness(1.08);
}

.btn-clear-script {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 0.45rem 0.8rem;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-clear-script:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
}

.manual-script-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.script-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    user-select: none;
}

.script-checkbox-label input[type="checkbox"] {
    accent-color: #a855f7;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

/* ========================================================
   CAPCUT WORKSTATION: NAVIGATION & ASSET PANELS
   ======================================================== */
.capcut-asset-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.15);
    padding: 0.4rem;
    border-radius: 10px;
}

.capcut-nav-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.capcut-nav-btn:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
}

.capcut-nav-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.capcut-nav-btn .badge-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    color: #e0e7ff;
}

.audio-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.audio-search-box .search-icon {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.audio-search-box .search-input {
    width: 100%;
    padding-left: 2.6rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
}

/* SFX Library Grid */
.sfx-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.sfx-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.sfx-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(30, 41, 59, 0.85);
    transform: translateY(-1px);
}

.sfx-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sfx-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sfx-category-pill {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.sfx-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
}

.sfx-dur-text {
    font-size: 0.74rem;
    color: #94a3b8;
}

.btn-sfx-play, .btn-sfx-add {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-sfx-play {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.btn-sfx-add {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    transition: all 0.2s;
}

.btn-sfx-add:hover {
    background: #8b5cf6;
    color: #fff;
}

/* CapCut Dinamik Altyazı Şablonları Grid */
.caption-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.85rem;
}

.caption-preset-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    padding: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.caption-preset-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(30, 41, 59, 0.7);
}

.caption-preset-card.active {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.12);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35);
}

.caption-preview-box {
    height: 70px;
    background: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
}

.hormozi-style {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

.hormozi-style .highlight {
    color: #facc15;
    transform: scale(1.15);
    display: inline-block;
    margin-right: 0.25rem;
}

.cinematic-style {
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 0.95rem;
    color: #e2e8f0;
    letter-spacing: 1px;
}

.cinematic-style .highlight {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.cyber-style {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #06b6d4;
    text-shadow: 0 0 10px #06b6d4;
}

.cyber-style .highlight {
    color: #ec4899;
    text-shadow: 0 0 10px #ec4899;
    margin-right: 0.25rem;
}

.none-style {
    color: #64748b;
    font-size: 1.5rem;
}

.caption-preset-info strong {
    font-size: 0.86rem;
    color: #f1f5f9;
    display: block;
    margin-bottom: 0.2rem;
}

.caption-preset-info p {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
}

/* Renk Filtreleri Grid */
.filters-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
}

.filter-preset-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    padding: 0.65rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.filter-preset-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.filter-preset-card.active {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3);
}

.filter-thumb-box {
    height: 55px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.filter-none-thumb { background: linear-gradient(135deg, #334155, #1e293b); color: #cbd5e1; }
.filter-bbc-thumb { background: linear-gradient(135deg, #1e293b, #0f172a); color: #94a3b8; filter: contrast(1.3) saturate(0.8); }
.filter-noir-thumb { background: linear-gradient(135deg, #09203f, #537895); color: #38bdf8; filter: hue-rotate(180deg); }
.filter-golden-thumb { background: linear-gradient(135deg, #b45309, #d97706); color: #fef08a; }
.filter-vintage-thumb { background: linear-gradient(135deg, #78350f, #92400e); color: #fed7aa; filter: sepia(0.5); }

.filter-preset-card strong {
    font-size: 0.8rem;
    color: #f1f5f9;
    display: block;
    margin-bottom: 0.15rem;
}

.filter-preset-card p {
    font-size: 0.68rem;
    color: #94a3b8;
    margin: 0;
}

/* ========================================================
   CAPCUT INTERACTIVE MULTI-TRACK TIMELINE
   ======================================================== */
.timeline-card {
    background: #090d16;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 0.6rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.timeline-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-title h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-time-badge {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Timeline Transport Controls */
.timeline-transport-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
}

.btn-tl-transport {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border-radius: 6px;
    padding: 0.32rem 0.65rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.btn-tl-transport:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-tl-transport.active-loop {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
}

.btn-tl-play-main {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: #ffffff;
    font-weight: 700;
    padding: 0.35rem 0.95rem;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.btn-tl-play-main:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}

.btn-tl-play-main.is-playing {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
    animation: tlPulse 1.8s infinite ease-in-out;
}

@keyframes tlPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.85); }
}

.timeline-keyhint {
    font-size: 0.72rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.3rem;
}

.timeline-keyhint kbd {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.7rem;
}

/* Active Clip Highlighting during playback */
.timeline-clip.active-playing {
    border: 2px solid #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.7) !important;
    z-index: 10;
}

.timeline-tools {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.btn-tl-tool {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 5px;
    padding: 0.3rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-tl-tool:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-tl-sfx {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.btn-tl-sfx:hover {
    background: #8b5cf6;
    color: #fff;
}

/* Timeline Workspace */
.timeline-workspace {
    position: relative;
    background: #06090f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    min-height: 220px;
    overflow-x: auto;
    overflow-y: hidden;
    user-select: none;
}

/* Draggable Red Playhead Line */
.timeline-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ef4444;
    z-index: 50;
    cursor: ew-resize;
    pointer-events: auto;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    transition: left 0.05s linear;
}

.timeline-playhead.playing,
.timeline-playhead.scrubbing {
    transition: none !important;
}

.playhead-handle {
    position: absolute;
    top: -2px;
    left: -7px;
    color: #ef4444;
    font-size: 1rem;
    cursor: grab;
}

.playhead-line {
    width: 2px;
    height: 100%;
    background: #ef4444;
}

/* Timeline Ruler */
.timeline-ruler {
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding-left: 90px;
    display: flex;
    align-items: center;
}

.ruler-tick {
    position: absolute;
    font-size: 0.65rem;
    font-family: monospace;
    color: #64748b;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    padding-left: 3px;
    display: flex;
    align-items: center;
}

/* Timeline Tracks */
.timeline-track {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 38px;
    position: relative;
}

.track-label {
    width: 90px;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    padding: 0.4rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 10;
}

.track-content {
    flex: 1;
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
}

/* Timeline Clip Blocks */
.timeline-clip {
    position: absolute;
    height: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.4));
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 0 0.4rem;
    color: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 600;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: filter 0.15s, border-color 0.15s;
    user-select: none;
}

/* Selected Layer Status Pill in Timeline Header */
.timeline-selected-pill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 0.72rem;
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.timeline-selected-pill strong {
    color: #fde047;
}

/* Danger Delete Tool Button */
.btn-tl-tool.btn-tl-danger:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.timeline-clip:hover {
    filter: brightness(1.15);
    border-color: #c084fc;
}

.timeline-clip.selected,
.timeline-layer-selectable.layer-selected {
    outline: 2px solid #facc15 !important;
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.8), inset 0 0 8px rgba(250, 204, 21, 0.25) !important;
    border-color: #fde047 !important;
    z-index: 10 !important;
}

/* Selectable & Interactive Timeline Layers */
.timeline-layer-selectable {
    cursor: pointer !important;
    transition: filter 0.15s, outline 0.15s, box-shadow 0.15s;
    position: relative;
    user-select: none;
}

.timeline-layer-selectable:hover {
    filter: brightness(1.22);
}

/* Quick Delete Button on Hover / Selected */
.layer-quick-del-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.88);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.15s ease;
}

.timeline-layer-selectable:hover .layer-quick-del-btn,
.timeline-layer-selectable.layer-selected .layer-quick-del-btn {
    display: flex;
}

.layer-quick-del-btn:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.2);
}

/* Drag & Drop Reordering Indicators on V1 Timeline Clips */
.timeline-clip.clip-dragging {
    opacity: 0.45;
    transform: scale(0.96);
    outline: 2px dashed #38bdf8 !important;
    filter: grayscale(0.5);
}

.timeline-clip.clip-drag-over-left {
    border-left: 4px solid #38bdf8 !important;
    box-shadow: -4px 0 14px rgba(56, 189, 248, 0.9) !important;
}

.timeline-clip.clip-drag-over-right {
    border-right: 4px solid #38bdf8 !important;
    box-shadow: 4px 0 14px rgba(56, 189, 248, 0.9) !important;
}

/* Floating Timeline Action Toast */
.timeline-toast {
    position: fixed;
    bottom: 24px;
    right: 28px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-clip .clip-thumb {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

.timeline-clip .clip-info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.timeline-clip .clip-dur {
    font-size: 0.64rem;
    color: #cbd5e1;
    margin-left: 0.3rem;
}

/* Voiceover Track Block */
.voice-block {
    position: absolute;
    height: 28px;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 4px;
    color: #6ee7b7;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    padding: 0 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.15s ease;
}

.voice-block.voice-downloaded {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.4) 0%, rgba(5, 150, 105, 0.45) 100%);
    border: 1px solid rgba(52, 211, 153, 0.85);
    color: #a7f3d0;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.voice-block.voice-text-ready {
    background: rgba(14, 165, 233, 0.2);
    border: 1px dashed rgba(56, 189, 248, 0.7);
    color: #bae6fd;
}

.voice-block.voice-silent {
    background: rgba(100, 116, 139, 0.12);
    border: 1px solid rgba(100, 116, 139, 0.25);
    color: #64748b;
    opacity: 0.7;
}

.btn-tl-voice-play-icon, .btn-tl-voice-download-icon {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin-right: 4px;
    transition: transform 0.15s, background 0.15s;
}

.btn-tl-voice-play-icon:hover {
    background: #10b981;
    transform: scale(1.15);
    border-color: #34d399;
}

.btn-tl-voice-download-icon:hover {
    background: #0284c7;
    transform: scale(1.15);
    border-color: #38bdf8;
}

/* Music Track Block */
.music-block {
    position: absolute;
    height: 26px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 4px;
    color: #fcd34d;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    padding: 0 0.4rem;
    white-space: nowrap;
}

/* SFX Marker Block */
.sfx-marker-block {
    position: absolute;
    height: 24px;
    background: rgba(236, 72, 153, 0.35);
    border: 1px solid rgba(236, 72, 153, 0.7);
    border-radius: 4px;
    color: #fbcfe8;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.35rem;
    cursor: pointer;
}

/* Text / Caption Track Block */
.text-caption-block {
    position: absolute;
    height: 24px;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 4px;
    color: #bae6fd;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    padding: 0 0.4rem;
}

/* Full-Width Workstation Bottom Timeline */
.workstation-bottom-timeline-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
    overflow-x: clip !important;
}

.timeline-card.full-width {
    width: 100% !important;
    max-width: 100% !important;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    overflow: hidden;
}

.timeline-workspace.full-width {
    min-height: 250px;
}

.btn-ai-music {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(56, 189, 248, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-ai-music:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(56, 189, 248, 0.35));
    border-color: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

/* AI Music Recommendation Banner in Audio Panel */
.ai-music-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.ai-music-banner:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.3));
    border-color: #c084fc;
}
.ai-music-banner-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.ai-music-icon {
    width: 36px;
    height: 36px;
    background: rgba(168, 85, 247, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c084fc;
    font-size: 1.1rem;
}
.ai-music-banner-content strong {
    font-size: 0.92rem;
    color: #f8fafc;
}
.ai-music-banner-content p {
    font-size: 0.76rem;
    color: #94a3b8;
    margin: 0;
}

/* AI Music Recommendations Grid & Cards */
.ai-music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.ai-music-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.2s;
    position: relative;
}
.ai-music-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}
.ai-music-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}
.ai-music-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f1f5f9;
}
.ai-music-score-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.ai-music-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ai-music-reason {
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #a855f7;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    color: #cbd5e1;
    border-radius: 0 4px 4px 0;
    line-height: 1.4;
}
.ai-music-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}
.btn-ai-play {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.btn-ai-play:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-ai-add {
    flex: 2;
    background: #6366f1;
    border: none;
    color: #fff;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.btn-ai-add:hover {
    background: #4f46e5;
}

/* Stock Media Search Modal */
.stock-search-bar {
    display: flex;
    gap: 0.6rem;
}
.stock-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.stock-search-input-wrap .search-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
}
.stock-search-input-wrap .search-input {
    padding-left: 36px;
    width: 100%;
}
.stock-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}
.stock-item-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    aspect-ratio: 16/9;
}
.stock-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}
.stock-item-card:hover img {
    transform: scale(1.04);
}
.stock-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.stock-item-card:hover .stock-item-overlay {
    opacity: 1;
}
.stock-item-badge {
    align-self: flex-start;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #f1f5f9;
}
.btn-stock-select {
    background: #38bdf8;
    color: #0f172a;
    border: none;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
.btn-stock-select:hover {
    background: #7dd3fc;
}
.btn-scene-stock {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}
.btn-scene-stock:hover {
    background: rgba(56, 189, 248, 0.28);
}

/* Bottom Monitor Card directly above Timeline */
.bottom-monitor-card {
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.bottom-monitor-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.25rem;
    padding: 1.1rem;
    align-items: stretch;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .bottom-monitor-body {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bottom-monitor-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #070b14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.bottom-monitor-screen .video-preview-wrapper {
    width: 100%;
    margin-bottom: 0;
    min-height: 340px;
    max-height: 460px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* CapCut Monitor Bottom Control Bar */
.monitor-transport-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d1527;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.monitor-transport-left, .monitor-transport-center, .monitor-transport-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.smpte-timecode {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(15, 23, 42, 0.8);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    letter-spacing: 0.5px;
}

.btn-monitor-ctrl {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 0.95rem;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-monitor-ctrl:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-monitor-ctrl.btn-monitor-play {
    background: #38bdf8;
    color: #0b1120;
    font-size: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.btn-monitor-ctrl.btn-monitor-play:hover {
    transform: scale(1.05);
    background: #7dd3fc;
}

.btn-monitor-view {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-monitor-view:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #fff;
}

/* ========================================================
   CAPCUT INSPECTOR PANEL (RIGHT COLUMN)
   ======================================================== */
.capcut-inspector-panel {
    background: #090e1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.inspector-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.5rem;
}

.inspector-main-tabs {
    display: flex;
    gap: 0.25rem;
}

.insp-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.insp-tab:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.insp-tab.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-bottom: 2px solid #38bdf8;
    border-radius: 6px 6px 0 0;
}

.inspector-body {
    flex: 1;
    padding: 0.85rem;
    overflow-y: auto;
    max-height: 420px;
}

.insp-subtabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.45rem;
}

.insp-subtab {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.insp-subtab:hover {
    color: #cbd5e1;
}

.insp-subtab.active {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
}

.insp-accordion {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.insp-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: rgba(30, 41, 59, 0.4);
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    cursor: pointer;
}

.insp-acc-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-acc-reset {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 2px;
}

.btn-acc-reset:hover {
    color: #38bdf8;
}

.keyframe-icon {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: -1px;
}

.keyframe-icon-small {
    font-size: 0.72rem;
    color: #64748b;
}

.insp-accordion-body {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insp-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.insp-row.justify-between {
    justify-content: space-between;
}

.insp-row label {
    min-width: 65px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0;
}

.insp-slider-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insp-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #334155;
    outline: none;
}

.insp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #38bdf8;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

.insp-num-wrap {
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.insp-num-wrap input {
    width: 38px;
    background: transparent;
    border: none;
    color: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    outline: none;
    padding: 0;
}

.insp-pos-pair {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insp-pos-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
}

.insp-pos-input .pos-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}

.insp-pos-input input {
    width: 100%;
    background: transparent;
    border: none;
    color: #f1f5f9;
    font-size: 0.75rem;
    outline: none;
}

.insp-rotate-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rotate-dial-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #475569;
    position: relative;
    cursor: pointer;
    background: #0f172a;
}

.rotate-dial-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.insp-align-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.3rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-align {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    height: 26px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-align:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #fff;
}

/* Switch Toggle (CapCut Style) */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    margin: 0;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 18px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.switch-toggle input:checked + .slider-round {
    background-color: #00d2b4;
}

.switch-toggle input:checked + .slider-round:before {
    transform: translateX(14px);
}

/* Speed Presets Grid */
.speed-presets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
}

.btn-speed-preset {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-speed-preset:hover, .btn-speed-preset.active {
    background: #38bdf8;
    color: #0b1120;
    border-color: #38bdf8;
}

.inspector-footer {
    padding: 0.85rem;
    background: #0b1222;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================================
   TIMELINE HEADER & MODE TOGGLE
   ======================================================== */
.timeline-title-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.timeline-mode-toggle {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 2px;
}

.btn-mode-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.btn-mode-tab:hover {
    color: #fff;
}

.btn-mode-tab.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.tl-toolbar-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 0.3rem;
}

/* Timeline Zoom Slider */
.tl-zoom-container {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.tl-zoom-slider {
    width: 75px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #334155;
    outline: none;
}

.tl-zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #38bdf8;
    cursor: pointer;
}

/* ========================================================
   TRACK HEADERS (CAPCUT PRO CONTROLS: EYE, LOCK, MUTE)
   ======================================================== */
.track-header-capcut {
    width: 90px;
    min-width: 90px;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.35rem 0.5rem;
    gap: 0.3rem;
    user-select: none;
}

.track-title-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.track-control-icons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-track-icon {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-track-icon:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.1);
}

.btn-track-icon.active-mute {
    color: #f43f5e;
}

.btn-track-icon.active-lock {
    color: #f59e0b;
}

.btn-track-icon.active-hide {
    color: #94a3b8;
    opacity: 0.4;
}

/* ========================================================
   FILMSTRIP THUMBNAILS & CLIP METADATA (V1)
   ======================================================== */
.clip-filmstrip-strip {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
    pointer-events: none;
    background: #000;
}

.filmstrip-frame-img {
    height: 100%;
    width: 64px;
    min-width: 64px;
    object-fit: cover;
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    opacity: 0.88;
}

.clip-header-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.clip-header-dur {
    font-family: monospace;
    color: #38bdf8;
    margin-left: 6px;
}

/* Master Video Mode Clip Styling */
.timeline-clip.master-clip {
    background: #042f2e;
    border: 2px solid #00d2b4;
    box-shadow: 0 0 14px rgba(0, 210, 180, 0.35);
}

.timeline-clip.master-clip .clip-header-badge {
    background: rgba(4, 47, 46, 0.95);
    color: #5eead4;
    border-bottom-color: rgba(0, 210, 180, 0.4);
}

/* ========================================================
   REALISTIC SVG AUDIO WAVEFORMS (A1 & A2)
   ======================================================== */
.waveform-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.waveform-svg {
    width: 100%;
    height: 100%;
}

.voice-waveform-path {
    fill: #00f0ff;
    opacity: 0.85;
}

.music-waveform-path {
    fill: #c084fc;
    opacity: 0.85;
}

.timeline-active-mode-pill {
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Master Synchronization Button */
.btn-master-sync {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 40%, #10b981 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.7) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    padding: 0.42rem 0.95rem !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-master-sync:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.6) !important;
    border-color: #34d399 !important;
}

.btn-master-sync:active {
    transform: translateY(0) scale(0.99) !important;
}

.btn-master-sync:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Horizontal Content Plan Table */
.content-plan-horizontal-table select,
.content-plan-horizontal-table input {
    width: 100%;
    box-sizing: border-box;
}

/* Timeline Fit to Screen Button */
.btn-fit-screen {
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-fit-screen:hover {
    background: rgba(56, 189, 248, 0.3);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

/* Subtitle Palette Buttons */
.sub-color-btn {
    transition: transform 0.15s, box-shadow 0.15s;
}
.sub-color-btn:hover {
    transform: scale(1.15);
}
.sub-color-btn.active {
    box-shadow: 0 0 0 2px #38bdf8, 0 0 8px rgba(56, 189, 248, 0.6) !important;
}

/* Subtitle Preview Styling */
#liveMonitorSubtitleWrap {
    pointer-events: none;
    z-index: 25;
}
#liveMonitorSubtitle {
    display: inline-block;
    word-break: break-word;
    transition: all 0.15s ease;
}

/* YouTube Upload Advanced Options Styling */
.yt-option-card {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 0.75rem;
}
.yt-option-card label.yt-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    color: #e2e8f0;
    margin-bottom: 4px;
}
.yt-option-card label.yt-radio-label:last-child {
    margin-bottom: 0;
}
.yt-option-card label.yt-radio-label input[type="radio"],
.yt-option-card label.yt-radio-label input[type="checkbox"] {
    accent-color: #38bdf8;
    cursor: pointer;
}
.yt-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.15s ease;
    user-select: none;
}
.yt-tag-chip:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: #e2e8f0;
}
.yt-tag-chip.active {
    background: rgba(14, 165, 233, 0.2);
    border-color: #38bdf8;
    color: #f0f9ff;
    font-weight: 600;
}
.yt-tag-chip .chip-score {
    background: rgba(0, 0, 0, 0.35);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #38bdf8;
}
.yt-tag-chip.active .chip-score {
    background: rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
}

.btn-count-pill {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-count-pill:hover {
    border-color: rgba(99, 102, 241, 0.6);
    color: #fff;
    transform: translateY(-1px);
}
.btn-count-pill.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.btn-duration-pill {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #f472b6;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-duration-pill:hover {
    border-color: rgba(244, 63, 94, 0.6);
    color: #fff;
    transform: translateY(-1px);
}
.btn-duration-pill.active {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    border-color: #f43f5e;
    color: #fff;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}



