/* VideoLab premium theme.
   Load AFTER style.css and responsive.css (see header.php).
   It re-skins colours, type, buttons, header and footer site-wide.
   It does not change layout, dropdown/drawer behaviour or any JS hooks. */

/* ---------- Tokens (override style.css :root) ---------- */
:root{
  --primary:#4F46E5;
  --primary-dark:#4338CA;
  --dark:#0B0C14;
  --font-display:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
}
:focus-visible{outline:3px solid #A5B4FC;outline-offset:2px;border-radius:8px}

/* ---------- Buttons ---------- */
.btn{border-radius:999px;font-weight:700}
.btn-primary{
  background:linear-gradient(180deg,#6258F6,#4338CA);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 20px -8px rgba(79,70,229,.6);
}
.btn-primary:hover{
  filter:brightness(1.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 12px 26px -8px rgba(79,70,229,.6);
}
.btn-outline{background:#fff;border-color:#D5D8E6}
.btn-outline:hover{border-color:var(--dark);color:var(--dark)}
.btn-ghost{color:#5B6075}
.btn-ghost:hover{background:#F3F1FF;color:var(--primary)}

/* ---------- Logo (header + footer) ---------- */
.logo-mark{
  display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;
  background:linear-gradient(160deg,#6D5DF6,#4338CA);color:#fff;font-size:.8rem;
  box-shadow:0 6px 14px -6px rgba(79,70,229,.7);
}
.logo-text{font-weight:800;font-size:1.35rem;letter-spacing:-.03em}

/* ---------- Header ---------- */
.site-header{
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom-color:#E6E8F0;
}
.site-header .main-nav>a,
.site-header .nav-dropdown-toggle{font-weight:600;color:#5B6075;transition:color .15s}
.site-header .main-nav>a:hover,
.site-header .nav-dropdown-toggle:hover,
.site-header .nav-dropdown.open .nav-dropdown-toggle{color:#0B0C14}
.site-header .nav-dropdown-menu{
  border-color:#E6E8F0;border-radius:18px;padding:8px;
  box-shadow:0 28px 60px -22px rgba(31,27,90,.38);
}
.site-header .nav-dropdown-menu a{font-weight:500;border-radius:10px;transition:background .15s,color .15s}
.site-header .nav-dropdown-menu a:hover{background:#F3F1FF;color:var(--primary)}
.mobile-drawer-inner>a,.mobile-tools-toggle{font-weight:600}

/* ---------- Footer ---------- */
.site-footer{
  background:radial-gradient(60% 130% at 50% 0%,rgba(99,86,246,.22),transparent 70%),#090A11;
  border-top:1px solid rgba(255,255,255,.06);
  color:#A6ABC2;margin-top:0;padding-top:72px;
}
.footer-brand p{color:#A6ABC2;font-size:.95rem;max-width:18em}
.footer-col h4{font-size:.92rem;font-weight:700;text-transform:none;letter-spacing:0;color:#fff;margin-bottom:16px}
.footer-col a{color:#A6ABC2;font-size:.93rem;padding:6px 0;transition:color .15s}
.footer-col a:hover{color:#fff}
.footer-bottom{
  text-align:left;color:#7C8199;border-top-color:rgba(255,255,255,.08);
  padding:22px max(24px,calc((100% - var(--container)) / 2 + 24px));
}
@media(min-width:901px){
  .footer-inner{grid-template-columns:1.7fr 1fr 1fr 1fr;gap:48px}
}

/* ---------- Image logo (header + footer) ---------- */
.logo-img{display:block;width:40px;height:40px;flex:none}

/* ---------- Soft colour wash at the top of every inner page ---------- */
body{background:linear-gradient(180deg,#E9E4FF 0,#F5F6FA 460px) no-repeat,#F5F6FA}

/* ---------- Tool pages, forms, uploads (uses the classes from style.css) ---------- */
body .tool-page-head{padding:56px 0 18px}
body .tool-page-head h1{font-size:clamp(1.9rem,3.6vw,2.7rem);font-weight:800;letter-spacing:-.035em;line-height:1.08}
body .tool-page-head p{color:#5B6075;font-size:1.05rem;max-width:40em}
body .tool-workspace{gap:24px}
body .card{border-color:#E6E8F0;border-radius:22px;box-shadow:0 24px 50px -32px rgba(49,46,129,.4),0 1px 2px rgba(15,23,42,.04)}

body .dropzone{border:1px dashed #CFD3EC;border-radius:20px;background:radial-gradient(90% 110% at 50% 0%,#F1EEFF,#FFFFFF 75%)}
body .dropzone:hover,body .dropzone.dragover{border-color:var(--primary);background:radial-gradient(90% 110% at 50% 0%,#E4DFFF,#F7F6FF 75%)}
body .dropzone h3{font-weight:700;letter-spacing:-.02em}

body .form-group label{font-weight:700;font-size:.86rem}
body .form-control{border:1px solid #D5D8E6;border-radius:12px}
body .form-control:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 4px rgba(79,70,229,.14)}

body .progress-bar{height:8px}
body .progress-bar-fill{background:linear-gradient(90deg,#6D5DF6,#4338CA)}
body .file-chip{background:#fff;border-color:#E6E8F0;border-radius:14px}
body .file-chip .file-icon{background:linear-gradient(160deg,#6D5DF6,#4338CA);border-radius:10px}
body .tabs{background:#EEF0F8;border-radius:14px}
body .tabs button{border-radius:10px}
body .alert{border-radius:12px}
body .result-box .check{background:#ECFDF5}