@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --primary: #0a8ae6;
    --primary-hover: #0070d1;
    --bg-dark: #01091c;
    --card-bg: rgba(6, 16, 36, 0.78);
    --border-color: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #f3f4f6;
    min-height: 100vh;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== Escala da interface =====
   Textos, ícones, espaçamentos e containers do Tailwind são medidos em rem, então o tamanho base abaixo
   regula tudo de uma vez. Em notebooks (inclusive com a escala do Windows em 125%/150%) 16px deixava a
   tela com cara de "zoom". Celular e tablet continuam em 16px, que é melhor para o toque. */
@media (min-width: 1024px) {
    html { font-size: 87.5%; }                           /* 14px */
    html .text-xs { font-size: max(11px, .75rem); }      /* piso de leitura para o texto pequeno */
}
@media (min-width: 1800px) { html { font-size: 93.75%; } }   /* 15px */
@media (min-width: 2400px) { html { font-size: 100%; } }     /* 16px */

/* Glassmorphism */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

.glass-card {
    background: rgba(17, 24, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
    background: rgba(10, 138, 230, 0.3);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 138, 230, 0.6);
}

/* Step Pipeline Active/Inactive */
.step-bubble {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-bubble.active {
    box-shadow: 0 0 20px rgba(10, 138, 230, 0.5);
    border-color: #2ea4f5;
}
.step-bubble.completed {
    background: #10b981;
    color: #ffffff;
    border-color: #34d399;
}

/* Pulsing AI Glow */
@keyframes ai-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(10, 138, 230, 0.2), inset 0 0 15px rgba(10, 138, 230, 0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(85, 201, 31, 0.4), inset 0 0 25px rgba(85, 201, 31, 0.2);
    }
}
.ai-active-glow {
    animation: ai-pulse 2.5s infinite ease-in-out;
}

/* Audio Waveform Simulator */
.audio-bar {
    display: inline-block;
    width: 3px;
    height: 12px;
    margin: 0 1.5px;
    background: #2ea4f5;
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out;
}
@keyframes wave {
    0%, 100% { height: 6px; }
    50% { height: 26px; }
}
.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; }
.audio-bar:nth-child(7) { animation-delay: 0.6s; }

/* Drag and Drop Zone */
.dropzone-active {
    border-color: #0a8ae6 !important;
    background-color: rgba(10, 138, 230, 0.08) !important;
}


/* ==========================================================================
   Cabeçalho: abas que não cabem vão para o menu "Mais" (app.js > setupNavOverflow)
   ========================================================================== */
#mainNav > * { flex-shrink: 0; }
.nav-more { position: relative; display: flex; align-items: stretch; flex-shrink: 0; }
.nav-more.hidden { display: none; }
.nav-more-btn { display: inline-flex; align-items: center; gap: .3rem; padding: 0 .75rem; height: 100%; font-size: .75rem; font-weight: 600;
    color: rgb(148 163 184); border-bottom: 2px solid transparent; transition: color .15s; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] { color: #fff; }
.nav-more-btn.is-active { color: rgb(46 164 245); border-color: rgb(10 138 230); }
.nav-more-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; padding: .35rem; border-radius: .75rem;
    display: flex; flex-direction: column; gap: 2px; z-index: 60; background: #0f172a !important; border: 1px solid rgb(51 65 85);
    box-shadow: 0 18px 40px -12px rgb(0 0 0 / .6); }
.nav-more-menu.hidden { display: none; }
.nav-more-menu > *:not(.hidden) { display: flex !important; align-items: center; gap: .5rem; width: 100%; height: auto !important;
    padding: .55rem .75rem !important; border: 0 !important; border-left: 2px solid transparent !important; border-radius: .5rem;
    text-align: left; font-size: .78rem; color: rgb(203 213 225); }
.nav-more-menu > *:hover { background: rgb(30 41 59); color: #fff; }
.nav-more-menu > .text-indigo-400 { color: rgb(46 164 245); border-left-color: rgb(10 138 230) !important; background: rgb(30 41 59 / .6); }
.nav-more-menu .xl\:hidden { display: none; }
.nav-more-menu .hidden.xl\:inline { display: inline; }
html.theme-light .nav-more-btn { color: #5b6779; }
html.theme-light .nav-more-btn:hover, html.theme-light .nav-more-btn[aria-expanded="true"] { color: #0f172a; }
html.theme-light .nav-more-btn.is-active { color: #0070d1; border-color: #0a8ae6; }
html.theme-light .nav-more-menu { background: #ffffff !important; border-color: #e2e8f0; box-shadow: 0 18px 40px -12px rgb(15 23 42 / .2); }
html.theme-light .nav-more-menu > *:not(.hidden) { color: #334155; }
html.theme-light .nav-more-menu > *:hover { background: #f1f5f9; color: #0f172a; }
html.theme-light .nav-more-menu > .text-indigo-400 { color: #0070d1; background: #eaf6ff; }

/* Marca: logo enviado em Admin › Aparência no lugar do ícone padrão */
html [data-brand-logo].brand-has-logo { background: none !important; box-shadow: none !important; width: auto !important; border-radius: 0 !important; }
[data-brand-logo].brand-has-logo .brand-logo-img { display: block; height: 2rem; width: auto; max-width: 220px; object-fit: contain; }
[data-brand-logo="lg"].brand-has-logo .brand-logo-img { height: 3.5rem; max-width: 360px; }

/* Meus Tutoriais › aba Grupos: cartões de pasta (cores próprias nos dois temas) */
.pg-card { --pg-bg: #111a2e; --pg-line: #26344d; --pg-cover: #0b1222; --pg-name: #f8fafc; --pg-count-bg: rgb(10 138 230 / .18); --pg-count: #a6d8ff; --pg-folder-bg: rgb(15 23 42 / .75);
    display: flex; flex-direction: column; cursor: pointer; border-radius: .9rem; overflow: hidden; background: var(--pg-bg); border: 1px solid var(--pg-line);
    transition: border-color .15s, transform .15s, box-shadow .15s; }
.pg-card:hover, .pg-card:focus-visible { border-color: rgb(10 138 230 / .7); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .5); outline: none; }
.pg-cover { position: relative; aspect-ratio: 16 / 9; background: var(--pg-cover); display: flex; align-items: center; justify-content: center; }
.pg-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .15s; }
.pg-card:hover .pg-cover-img { opacity: .8; }
.pg-folder { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem;
    background: var(--pg-folder-bg); color: #6bbfff; box-shadow: 0 4px 14px rgb(0 0 0 / .35); backdrop-filter: blur(4px); }
.pg-body { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .8rem; background: var(--pg-bg); border-top: 1px solid var(--pg-line); }
.pg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--pg-name); }
.pg-count { flex-shrink: 0; font-size: .68rem; font-weight: 600; padding: .15rem .5rem; border-radius: 9999px; background: var(--pg-count-bg); color: var(--pg-count); }
.pg-add { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; border-radius: .9rem;
    border: 2px dashed #334155; color: #94a3b8; font-size: .75rem; font-weight: 600; transition: border-color .15s, color .15s; }
.pg-add:hover { border-color: #0a8ae6; color: #6bbfff; }
html.theme-light .pg-card { --pg-bg: #ffffff; --pg-line: #d5dce6; --pg-cover: #eef2f7; --pg-name: #0f172a; --pg-count-bg: #d1ebff; --pg-count: #064a8a; --pg-folder-bg: rgb(255 255 255 / .9); }
html.theme-light .pg-card:hover { box-shadow: 0 10px 24px -12px rgb(15 23 42 / .25); }
html.theme-light .pg-folder { color: #0070d1; box-shadow: 0 4px 14px rgb(15 23 42 / .15); }
html.theme-light .pg-add { border-color: #cbd5e1; color: #64748b; }
html.theme-light .pg-add:hover { border-color: #0a8ae6; color: #0070d1; }

/* ===== Fontes da legenda (mesmos arquivos que o FFmpeg usa ao gravar a legenda no vídeo) ===== */
@font-face { font-family: 'gs-poppins'; src: url('/static/fonts/subtitles/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-poppins'; src: url('/static/fonts/subtitles/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-lato'; src: url('/static/fonts/subtitles/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-lato'; src: url('/static/fonts/subtitles/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-fira'; src: url('/static/fonts/subtitles/FiraSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-fira'; src: url('/static/fonts/subtitles/FiraSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-ubuntu'; src: url('/static/fonts/subtitles/Ubuntu-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-ubuntu'; src: url('/static/fonts/subtitles/Ubuntu-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-ptserif'; src: url('/static/fonts/subtitles/PT_Serif-Web-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-ptserif'; src: url('/static/fonts/subtitles/PT_Serif-Web-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-mono'; src: url('/static/fonts/subtitles/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-mono'; src: url('/static/fonts/subtitles/IBMPlexMono-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-comic'; src: url('/static/fonts/subtitles/ComicNeue-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'gs-comic'; src: url('/static/fonts/subtitles/ComicNeue-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'gs-anton'; src: url('/static/fonts/subtitles/Anton-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'gs-bebas'; src: url('/static/fonts/subtitles/BebasNeue-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'gs-archivo'; src: url('/static/fonts/subtitles/ArchivoBlack-Regular.ttf') format('truetype'); font-display: swap; }

/* ===== Barra lateral flutuante do passo 4 (fica por cima, não aperta o layout) ===== */
.studio-sidebar { --ss-bg: rgb(15 23 42 / .97); --ss-line: #26344d; --ss-soft: #0b1222; --ss-text: #e2e8f0; --ss-muted: #94a3b8;
    position: fixed; top: 4.5rem; right: 12px; z-index: 35; display: flex; align-items: flex-start; pointer-events: none; }
.studio-sidebar.hidden { display: none; }
.studio-sidebar > * { pointer-events: auto; }
.studio-sidebar-panel { width: 300px; max-height: calc(100vh - 5.5rem); display: flex; flex-direction: column; border-radius: 14px;
    background: var(--ss-bg); border: 1px solid var(--ss-line); box-shadow: 0 18px 40px -12px rgb(0 0 0 / .55); backdrop-filter: blur(8px);
    transition: transform .22s ease, opacity .22s ease; }
.studio-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: .55rem .6rem .55rem .9rem; border-bottom: 1px solid var(--ss-line); }
.studio-sidebar-body { overflow-y: auto; padding: .6rem; display: flex; flex-direction: column; gap: .6rem; scrollbar-width: thin; }
.studio-sidebar-handle { display: none; writing-mode: vertical-rl; transform: rotate(180deg); align-items: center; gap: .4rem; padding: .8rem .45rem; margin-top: 40px;
    border-radius: 0 10px 10px 0; background: #0070d1; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 8px 20px -6px rgb(0 112 209 / .6); }
.studio-sidebar-handle svg { transform: rotate(90deg); }
.studio-sidebar.is-collapsed { right: 0; }
.studio-sidebar.is-collapsed .studio-sidebar-panel { display: none; }
.studio-sidebar.is-collapsed .studio-sidebar-handle { display: inline-flex; }
.ss-section { border: 1px solid var(--ss-line); border-radius: 10px; background: var(--ss-soft); }
.ss-summary { list-style: none; cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .6rem .7rem; font-size: .72rem; font-weight: 700; color: var(--ss-text); }
.ss-summary::-webkit-details-marker { display: none; }
.ss-content { padding: 0 .7rem .75rem; }
.ss-label { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 600; color: var(--ss-muted); margin-bottom: .3rem; }
.ss-input { width: 100%; height: 2rem; padding: 0 .55rem; border-radius: .5rem; background: #020617; border: 1px solid #334155; color: var(--ss-text); font-size: .75rem; }
.ss-input:focus { outline: none; border-color: #0a8ae6; }
.ss-color { width: 100%; height: 2rem; padding: 2px; border-radius: .5rem; background: #020617; border: 1px solid #334155; cursor: pointer; }
.ss-seg { display: flex; gap: 2px; padding: 2px; border-radius: .55rem; background: #020617; border: 1px solid #334155; }
.ss-seg button { flex: 1; height: 1.75rem; border-radius: .4rem; font-size: .66rem; font-weight: 600; color: var(--ss-muted); transition: background .15s, color .15s; }
.ss-seg button:hover { color: var(--ss-text); }
.ss-seg button.is-on { background: #0070d1; color: #fff; }
.sub-preview { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--ss-line);
    background: linear-gradient(135deg, #1e3a5f 0%, #475569 45%, #94a3b8 100%); background-size: cover; background-position: center; }
.sub-preview-text { position: absolute; left: 3%; right: 3%; display: flex; justify-content: center; text-align: center; }
.sub-preview-block { display: inline-block; max-width: 100%; }
.sub-preview-block > div { line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-save { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .25rem; border-top: 1px dashed var(--ss-line); margin-top: .25rem; padding-top: .6rem; }
.ss-save .is-dirty { color: #fbbf24; font-weight: 600; }
.ss-save .is-saved { color: #34d399; font-weight: 600; }
@media (max-width: 1023px) { .studio-sidebar { top: 64px; } .studio-sidebar-panel { width: min(300px, calc(100vw - 24px)); } }

html.theme-light .studio-sidebar { --ss-bg: rgb(255 255 255 / .98); --ss-line: #d5dce6; --ss-soft: #f8fafc; --ss-text: #0f172a; --ss-muted: #475569; }
html.theme-light .studio-sidebar-panel { box-shadow: 0 18px 40px -14px rgb(15 23 42 / .28); }
html.theme-light .ss-input, html.theme-light .ss-color, html.theme-light .ss-seg { background: #fff; border-color: #cbd5e1; }

/* Legenda ao vivo sobre o vídeo do passo 4 (segue o estilo da barra lateral em tempo real) */
.sub-overlay { position: absolute; display: none; pointer-events: none; z-index: 4; overflow: hidden; }
.sub-overlay .sub-preview-text { position: absolute; left: 3%; right: 3%; display: flex; justify-content: center; text-align: center; }
.sub-overlay-tag { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;
    background: rgb(0 112 209 / .9); color: #fff; font-family: inherit; }

/* Passo 4: chips de consumo/legendas e etiquetas (neutros, ícones de traço) */
.fv-chip { --fv-bg: rgb(15 23 42 / .6); --fv-line: #2a3650; --fv-text: #e2e8f0; --fv-muted: #94a3b8; --fv-hover: rgb(30 41 59 / .8);
    display: inline-flex; align-items: center; gap: .45rem; height: 2rem; padding: 0 .75rem; border-radius: .6rem;
    background: var(--fv-bg); border: 1px solid var(--fv-line); color: var(--fv-text); font-size: .72rem; font-weight: 600;
    transition: background .15s, border-color .15s; }
.fv-chip:hover { background: var(--fv-hover); border-color: #3b4a68; }
.fv-chip.is-on { border-color: #4b5a7a; }
.fv-chip.is-disabled { color: var(--fv-muted); cursor: not-allowed; }
.fv-chip.is-disabled:hover { background: var(--fv-bg); border-color: var(--fv-line); }
.fv-ico { width: 14px; height: 14px; flex-shrink: 0; color: var(--fv-muted); }
.fv-chip-strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.fv-chip-muted { color: var(--fv-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.fv-switch { position: relative; width: 26px; height: 15px; border-radius: 9999px; background: #334155; transition: background .15s; }
.fv-switch > span { position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 9999px; background: #cbd5e1; transition: transform .15s, background .15s; }
.fv-chip.is-on .fv-switch { background: #0a8ae6; }
.fv-chip.is-on .fv-switch > span { transform: translateX(11px); background: #fff; }
.fv-tag { --fv-line: #2a3650; --fv-text: #cbd5e1; --fv-muted: #94a3b8;
    display: inline-flex; align-items: center; gap: .35rem; height: 1.5rem; padding: 0 .55rem; border-radius: .45rem;
    border: 1px solid var(--fv-line); color: var(--fv-text); font-size: .68rem; font-weight: 500; background: transparent; }
html.theme-light .fv-chip { --fv-bg: #ffffff; --fv-line: #d5dce6; --fv-text: #0f172a; --fv-muted: #64748b; --fv-hover: #f1f5f9; }
html.theme-light .fv-chip:hover { border-color: #b8c2d1; }
html.theme-light .fv-chip.is-on { border-color: #6bbfff; }
html.theme-light .fv-switch { background: #cbd5e1; }
html.theme-light .fv-switch > span { background: #fff; }
html.theme-light .fv-tag { --fv-line: #d5dce6; --fv-text: #334155; --fv-muted: #64748b; }

/* Janela "Baixar vídeo final": com ou sem legenda */
.dl-option { --dl-bg: rgb(15 23 42 / .6); --dl-line: #2a3650; --dl-text: #f1f5f9; --dl-muted: #94a3b8;
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; text-align: left;
    padding: .9rem; border-radius: .8rem; background: var(--dl-bg); border: 1px solid var(--dl-line); transition: border-color .15s, background .15s; }
.dl-option:hover:not(:disabled) { border-color: #0a8ae6; background: rgb(30 41 59 / .8); }
.dl-option:disabled { opacity: .5; cursor: not-allowed; }
.dl-option.is-busy { opacity: 1; border-color: #0a8ae6; }
.dl-ico { width: 22px; height: 22px; color: #6bbfff; }
.dl-title { font-size: .8rem; font-weight: 700; color: var(--dl-text); }
.dl-desc { font-size: .68rem; line-height: 1.35; color: var(--dl-muted); }
.dl-busy { font-size: .68rem; font-weight: 600; color: #6bbfff; }
.dl-option.is-default { border-color: #0a8ae6; }
.dl-tag { position: absolute; top: .6rem; right: .6rem; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: .1rem .45rem; border-radius: 9999px; background: rgb(10 138 230 / .18); color: #6bbfff; }
html.theme-light .dl-tag { background: #eaf6ff; color: #0070d1; }
html.theme-light .dl-option { --dl-bg: #ffffff; --dl-line: #d5dce6; --dl-text: #0f172a; --dl-muted: #64748b; }
html.theme-light .dl-option:hover:not(:disabled) { background: #f8fafc; }
html.theme-light .dl-ico, html.theme-light .dl-busy { color: #0070d1; }

/* Estúdio: aviso "a equipe conclui" / "tutorial de outra pessoa" */
.studio-wait { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem 1rem; border-radius: .9rem; font-size: .78rem; line-height: 1.45;
    background: rgb(30 41 59 / .55); border: 1px solid #334155; color: #e2e8f0; }
.studio-wait.hidden { display: none; }
.studio-wait svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #6bbfff; }
html.theme-light .studio-wait { background: #f1f5f9; border-color: #d5dce6; color: #0f172a; }
html.theme-light .studio-wait svg { color: #0070d1; }

/* Aviso de faturas vencendo/vencidas (topo de todas as telas) */
.billing-alert { border-bottom: 1px solid; font-size: 12px; }
.billing-alert.is-soon { background: rgb(120 53 15 / .35); border-color: rgb(180 83 9 / .5); color: #fde68a; }
.billing-alert.is-danger { background: rgb(127 29 29 / .4); border-color: rgb(185 28 28 / .55); color: #fecaca; }
.billing-alert__in { max-width: 1536px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: flex-start; gap: 10px; }
.billing-alert__txt { flex: 1; min-width: 0; line-height: 1.5; }
.billing-alert__txt a { margin-left: 4px; font-weight: 700; text-decoration: underline; color: inherit; }
.billing-alert__x { background: none; border: 0; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .75; padding: 0 4px; }
.billing-alert__x:hover { opacity: 1; }
html.theme-light .billing-alert.is-soon { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
html.theme-light .billing-alert.is-danger { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }

/* Arrastar vídeos para pastas / grupos */
.drop-over { outline: 2px dashed #0a8ae6; outline-offset: 2px; background: rgb(99 102 241 / .15) !important; }
body.dragging-project .folder-card, body.dragging-project .pg-card { border-color: rgb(99 102 241 / .6); }
tr[draggable="true"] { cursor: grab; }
