/* ==========================================================================
   Apple Noir — Hard Dark Gold (Bootstrap 5.3)
   • True dark surfaces, warm gold accent
   • Subtle, slow animations (no jittery motion)
   • No layout changes — visuals only
   ========================================================================== */


/* ===== Font: Inter Variable (Apple-like, crisp UI) ===== */
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

/* Wire Inter into Bootstrap + your theme */
:root,
[data-bs-theme="dark"] {
  /* Use Inter everywhere Bootstrap expects a sans font */
  --font-ui: "Cabin", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
             Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
             "Segoe UI Emoji";
  --bs-font-sans-serif: var(--font-ui);
}

/* Apply globally (keeps components in sync) */
html, body {
  font-family: var(--font-ui);
  font-optical-sizing: auto;           /* use Inter’s opsz */
  -webkit-font-smoothing: antialiased; /* crisp on macOS */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Tight, modern headings; calm body text */
h1, h2, h3 { font-weight: 700; letter-spacing: .1px; }
h4, h5, h6 { font-weight: 600; letter-spacing: .05px; }
.lead      { font-weight: 450; }

/* Ensure key UI bits inherit the same face */
.btn,
.navbar,
.form-control,
.form-select,
.input-group-text,
.dropdown-item,
.badge,
.alert,
.accordion-button,
.table,
.tooltip,
.popover {
  font-family: inherit;
}

/* Optional: numeric UI looks nicer with tabular figures */
:root,
[data-bs-theme="dark"] {
  --font-numeric: "Inter", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.stats, .price, .timer, .codecount {
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
}


/* ---------- Core tokens (hard dark) ---------- */
:root,
[data-bs-theme="dark"] {
  color-scheme: dark;

  /* Accent */
  --accent: #ffc729;            /* warm gold */
  --accent-rgb: 207,172,74;

  /* Neutrals (hard dark) */
  --bg-0: #0a0d10;              /* page */
  --bg-1: #0e1217;              /* panels/nav */
  --bg-2: #131821;              /* inputs/raised */
  --fg-1: #e7ebf3;              /* text */
  --fg-2: #b9c2d3;              /* secondary text */
  --line-1: #1b232d;            /* hairline */
  --line-2: #252e3a;            /* stronger hairline */

  /* Bootstrap variable overrides */
  --bs-body-bg: var(--bg-0);
  --bs-body-color: var(--fg-1);
  --bs-border-color: var(--line-1);
  --bs-primary: var(--accent);
  --bs-link-color: var(--accent);
  --bs-link-hover-color: #e8c975;


  --bs-success-bg: #149f4f;
  --bs-success-rgb:  30,211,106;
  --bs-primary-rgb:255,219,41;

  /* Radii */
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 10px;

  /* Motion */
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease-soft);
  --t-med: .35s var(--ease-soft);
  --t-slow: .8s var(--ease-soft);
}

.table-striped>tbody>tr:nth-of-type(odd)>*{ color: #fff; }



/* Make it unambiguously dark even if something else leaks in */
html, body { background-color: var(--bg-0) !important; color: var(--fg-1); }

/* ---------- Keyframes (gentle) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes softGlow {
  0%,100% { box-shadow: 0 0 0 .22rem rgba(var(--accent-rgb), .14); }
  50%     { box-shadow: 0 0 0 .28rem rgba(var(--accent-rgb), .22); }
}

/* ---------- Typography ---------- */
.lead { color: var(--fg-2); }
a { color: var(--bs-link-color); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--bs-link-hover-color); }

.article-content p{ font-size:1.25em; }

/* ---------- Surfaces (panels/nav/dropdowns/modals) ---------- */
.card,
.modal-content,
.offcanvas,
.toast,
.popover,
.alert,
.navbar,
.table {
  background-color: var(--bg-1) !important;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  box-shadow: none;                 /* matte, modern */
  animation: fadeUp var(--t-slow);
}
.card:hover,

.popover:hover {
  border-color: var(--line-2);
}

/* Section headers */
.navbar,
.modal-header,
.offcanvas-header,
.dropdown-menu .dropdown-header {
  background-color: var(--bg-1) !important;
  border-bottom: 1px solid var(--line-1);
}

.accent-color{
  color: var(--accent);
}

.accent-bg{
  background-color: var(--accent);
}

/* ---------- Buttons (subtle, premium) ---------- */
.btn {
  border-radius: 999px;             /* sleek pill */
  border: 1px solid transparent;
  box-shadow: none;
  transition:
    background-color var(--t-med),
    color var(--t-med),
    border-color var(--t-med),
    box-shadow var(--t-med),
    transform var(--t-med);
    font-weight: 900;
}

/* Primary (gold) */
.btn-primary {
  color: #fff;
  background-color: var(--accent);
  border-color: var(--accent);

}


.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
  color: #fff;
  background-color: var(--accent);
  border-color: var(--accent);
  }

.btn-primary:hover {
  transform: translateY(-1px);
  background-color: #ddb462;
  border-color: #ddb462;
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), .18);
}
.btn-primary:active {
  transform: translateY(0);
  background-color: #c79f43;
  border-color: #c79f43;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.25);
}
.btn-primary:focus-visible {
  outline: none;
  animation: softGlow 1.8s ease-in-out 1;
}

/* Outline (gold text -> filled on hover) */
.btn-outline-primary {
  color: var(--accent);
  background-color: transparent;
  border-color: var(--accent);
}
.btn-outline-primary:hover {
  color: #0b0d10;
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), .16);
}
.btn-outline-primary:focus-visible {
  outline: none;
  animation: softGlow 1.8s ease-in-out 1;
}

/* Neutral button */
.btn-secondary {
  color: var(--fg-1);
  background-color: #171c24;
  border: 1px solid var(--line-1);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: var(--line-2);
}

/* Kill any old sheen effects */
.btn::before, .btn::after { display: none !important; }

/* ---------- Forms ---------- */
.form-control,
.form-select,
.input-group-text {
  color: var(--fg-1);
  background-color: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.form-control::placeholder { color: rgba(231,235,243,.56); }

.form-control:focus,
.form-select:focus {
  background-color: #151b24;
  border-color: #d8b769;
  box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .16);
  outline: 0;
}

/* Input-group focus ring */
.input-group:focus-within {
  box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .12);
  border-radius: var(--radius-md);
}

/* Checks / radios */
.form-check-input {
  background-color: #11161c;
  border: 1px solid var(--line-1);
}
.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), .18);
}

/* ---------- Tabs & Pills ---------- */
.nav-tabs { border-bottom: 1px solid var(--line-1); }
.nav-tabs .nav-link {
  border: none; border-radius: 0;
  color: var(--fg-2);
  background: transparent;
  transition: color var(--t-fast);
}
.nav-tabs .nav-link:hover { color: var(--fg-1); }
.nav-tabs .nav-link.active {
  color: #e8c975;
  position: relative;
}
.nav-tabs .nav-link.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.nav-pills .nav-link {
  border-radius: 999px;
  color: var(--fg-2);
  background-color: var(--bg-2);
  border: 1px solid var(--line-1);
  transition: background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.nav-pills .nav-link.active {
  color: #0b0d10;
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), .16);
}

/* ---------- Alerts (thin gold bar) ---------- */
.alert {
  position: relative;
  border-left: 0;
  padding-left: 1rem;
  color: var(--fg-1);
}
.alert::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background-color: var(--accent);
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  opacity: .95;
}

/* ---------- Tables ---------- */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--fg-1);
  color: var(--fg-1);
  border-color: var(--line-1);
}
.table > :not(caption) > * > * { border-bottom-color: var(--line-2); }
.table-hover > tbody > tr { transition: background-color var(--t-fast); }
.table-hover > tbody > tr:hover { background-color: #141a22; }

/* ---------- Progress ---------- */
.progress {
  height: .5rem;
  border-radius: 999px;
  background-color: #141a22;
  border: 1px solid var(--line-1);
  overflow: hidden;
}
.progress-bar {
  background-color: var(--accent);
  box-shadow: none;
}

/* ---------- Dropdowns / Popovers / Tooltips ---------- */
.dropdown-menu{
  background: #171717;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  color: var(--fg-1);
}
.dropdown-item:hover { background-color: #161c25; color: #fff; }


.dropdown-item small{
  opacity: 0.6;
}

.popover { animation: fadeUp var(--t-fast); }

.tooltip .tooltip-inner {
  background-color: #1a2029;
  color: var(--fg-1);
  border: 1px solid var(--line-1);
  border-radius: 8px;
  box-shadow: none;
}

/* ---------- Helpers (opt-in) ---------- */
.animate-in { animation: fadeUp var(--t-slow); }
.glow-gold   { animation: softGlow 2.4s ease-in-out 2; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.text-muted{
  color: #fff !important;
}

.page-item.disabled{
  opacity: 0.1;
}
.page-link:hover{
  background: #201f1f;
}
.active>.page-link, .page-link.active{
  background: var(--accent);
  border: 0;
}


.text-align-center{
  text-align: center;
}

.nav-logo{
  max-height: 60px;
}

img{
  max-width: 100%;
}

.table{
  border: none;
}

.table td{
  vertical-align: middle;
}

.table-striped>tbody>tr:nth-of-type(odd)>*{
--bs-table-bg-type: #1a1c1f !important;
}

.table > :not(caption) > * > *{
  border-color: #10151b;
}

.active-panel, .active-panel:hover{
  border-color:  var(--accent);
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}

.movie-backdrop{
background: #363636;
background: radial-gradient(circle, rgba(54, 54, 54, 1) 0%, rgba(0, 0, 0, 1) 100%);
box-shadow:  inset 0px -20px 50px #000;
}

.movie-box{
  border: 1px solid #1f1f1f;
  border-radius: 20px;
}

.btn:disabled{
  border-color: #2a2a2a;
  color: #2a2a2a;
}

.playlist_poster{
   width:50px; !important;
   overflow: hidden;
   border: 1px solid #1a1a1a;
   border-radius: 10px; 
   margin-right: 10px;
}

#sidebarPanels, #sidebarPanels *, #sidebarPanels .card{
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
  animation: none !important;
}


.youtube-container {
    display: flex;
    justify-content: center;
}
    
.youtube-container iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    border-radius: 20px;
}


.dropzone .dz-preview.dz-image-preview {
  background: transparent !important;
}

.dz-preview, .dz-file-preview, .dz-processing, .dz-success, .dz-complete{
  display: none;
}

/* Custom state toggled via JS */
.dropzone.is-uploading {
    background-image: none !important; /* Hide your bg image */
    background-color: #1a1e21; /* Dark background behind bar */
}

/* Hide standard preview elements (Thumbnail, Name, Size, Checkmark) */
.dropzone.is-uploading .dz-preview .dz-image,
.dropzone.is-uploading .dz-preview .dz-details,
.dropzone.is-uploading .dz-preview .dz-success-mark,
.dropzone.is-uploading .dz-preview .dz-error-mark {
    display: none !important;
}

/* Centered Progress Bar Container */
.dropzone.is-uploading .dz-preview .dz-progress {
    opacity: 1 !important;
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 6px; /* Thin, sleek bar */
    background: #333;
    border-radius: 10px;
    transform: translateY(-50%);
    z-index: 50;
}

/* The actual filling bar (Gold) */
.dropzone.is-uploading .dz-preview .dz-progress .dz-upload {
    background: #d4af37; 
    display: block;
    height: 100%;
    width: 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}



#imageSettingsPanel{
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
background: linear-gradient(0deg,rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 0) 100%);
}

#imageSettingsPanel .settingsCard{
  box-shadow: 2px 2px 20px rgba(0,0,0,1);
  background: rgba(0,0,0,0.7) !important;

border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);

  }

#settingsCard{
transition: all 500ms ease-in-out;
}

#sidebar{
  box-shadow: 0px 20px 20px #000;
}

.dz-image{
  display: none !important;
}

#sidebarToggle{
  display: none;
}

.modal{
  background: rgba(0,0,0,0.7);
}

.song-item{
  padding: 10px;
  border-radius: 20px;
}

.song-item:hover{
  background: #111111;
}

/* Container */
.moo-player {
  

  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Waveform area */
.moo-waveform {
  height: 100px;
  
  border-radius: 20px;
}

/* Controls row */
.moo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* A/B group sticks together */
.moo-ab-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-waveform {
  position: relative;
  height: 96px;
}

.ws-waveform-layer {
  position: absolute;
  inset: 0;
}

/* ORIGINAL overlay (on top, visual only) */
.ws-waveform-original {
  pointer-events: none;
}

/* FOREGROUND (active track) waveform, underneath but clickable */
.ws-waveform-main {
  pointer-events: auto;
}



.play-btn{
  padding: 10px 16px !important;
  border-radius: 100px !important;
  font-size: 40px !important;
}

/* Base button */
.moo-btn {
  border: none;
  outline: none;

  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: var(--accent);              /* slate-900 */
  color: #e5e7eb;                   /* gray-200 */
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.05s ease;
}

.moo-btn:hover {
  background: var(--accent);              /* slate-800 */
}

.moo-btn:active {
  transform: translateY(1px);
}

/* Play button gets accent color */
.moo-btn-primary {
  background: var(--accent);              /* indigo-600 */

}

.moo-btn-primary:hover {
  background: var(--accent);              /* indigo-500 */
}

/* Toggle buttons (Original / Processed) */
.moo-btn-toggle {
  background: #020617;
  border: 1px solid #4b5563;        /* gray-600 */

  box-shadow: none;
}

.moo-btn-toggle:hover {
  background: #111827;
}

.moo-btn-toggle.active {
  background: #e5e7eb;
  color: #020617;
  border-color: #e5e7eb;
}

/* Checkbox + label */
.moo-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #e5e7eb;
}

.moo-checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #4f46e5;           /* modern checkbox color */
}

.modal-header{
  border-bottom: 0;
}

.modal-footer{
  border-top: 0;
}

.badge-gold {
    position: relative;
    display: inline-block;
    padding: 0.45rem 1.5rem;
    border-radius: 0.9rem;              /* rounded corners like the plate */
    border: 1px solid #b8860b;          /* outer edge line */
    background: linear-gradient(
        135deg,
        #fff9d0 0%,
        #f6e49c 18%,
        #d2a32f 48%,
        #f0cf6d 78%,
        #9b6b10 100%
    );
    color: #3b2b06;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.5) inset, /* soft inner glow */
        0 6px 12px rgba(0, 0, 0, 0.35);           /* drop shadow */
}

/* inner recessed rectangle */
.badge-gold::before {
    //content: "";
    font-weight: bold;
    position: absolute;
    inset: 4px;
    border-radius: 0.7rem;
    background: linear-gradient(
        135deg,
        #fdf4c1 0%,
        #f3d77a 25%,
        #d8b24a 55%,
        #f0de9a 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.7) inset,
        0 0 0 1px rgba(194, 142, 33, 0.7);
    z-index: 0;
}

/* keep text above the pseudo-element */
.badge-gold {
    position: relative;
    z-index: 1;
}
.blog-header{
  font-size:4em;
}

.accent-header{
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 10px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}


.storage-progress-bar{
  transition: 1s all ease-in-out;
}


.prompt_sample{
  width: 100%;
    font-family: Courier;
    background: #000;
    border-radius: 20px;
    border: 0;
    padding: 10px;
    resize: none;
    height: 100px;
}


.file_list_file{
  margin:  5px;
  padding: 10px;
  background-color: #121212; 
  border: 1px solid #333;
  border-radius: 10px;
}

.feature-icon-box {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 193, 7, 0.1); /* Low opacity yellow */
        color: #ffc107; /* Your Brand Yellow */
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    .text-brand {
        color: #ffc107 !important;
    }
    .btn-brand {
        background-color: #ffc107;
        color: #000;
        font-weight: 700;
        border: none;
        padding: 0.75rem 2rem;
        transition: all 0.2s ease-in-out;
    }
    .btn-brand:hover {
        background-color: #e0a800;
        transform: translateY(-2px);
    }
    .glass-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

@media(max-width: 874px){
  #sidebar{
    position: fixed;
    left: 0;
    top: 100px;
    bottom: 0px;
    z-index: 9;
    transform:  translateX(0%);
    transition: 500ms all ease-in-out;
  }

  #sidebar.closed{
    transform:  translateX(-100%)
  } 

  #sidebarToggle{
    display: block;
    position: absolute;
    right: -40px;
    top: 50px;
    background: #141414;
    padding: 10px;
    border-radius: 0px 20px 20px 0px;
    color:  var(--accent);
  }

.blog-header{
  font-size:3em;
}

}


