@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #6a5acd;
  --color-secondary: #3adea2;
  --color-danger: #ce414e;
  --color-warning: #e1521a;
  --color-success: #328420;
  --bg-dark: #1b1d24;
  --bg-panel: #252836;
  --bg-deep: #20222c;
  --text-main: #ffffff;
  --text-dim: #999;
}

/* Base */
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  height: 100vh;
  overflow: hidden;
  user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

canvas, 
#previewOverlay, 
#realtimeAd, 
#finalResultOverlay {
    cursor: crosshair;
    /* Suavizado fotográfico nativo de alta calidad (Bicubic downsampling) */
    image-rendering: high-quality;
}

input, button, select {
    user-select: auto;
    -webkit-user-select: auto;
}

.app-wrapper {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 300px;
  min-width: 300px;
  background-color: var(--bg-panel);
  border-right: 1px solid #383d5d;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  z-index: 10;
  scrollbar-width: thin;
  scrollbar-color: #383d5d transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #383d5d; border-radius: 4px; }

h2 {
  font-size: 1rem;
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── UPLOAD ZONES ── */
.upload-section { display: flex; flex-direction: column; gap: 8px; }

.upload-zone {
  position: relative;
  width: 100%;
  height: 76px;
  background: #0e0f14;
  border: 1.5px dashed #2e3145;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  box-sizing: border-box;
}
.upload-zone:hover { border-color: var(--color-primary); background: #111422; }
.upload-zone input[type="file"] { display: none; }
.upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.upload-placeholder span { font-size: 0.75rem; color: #666; font-weight: 500; }
.upload-placeholder small { font-size: 0.6rem; color: #444; }
.upload-thumb { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }

/* ── NAV TOOLS ── */
.nav-tools {
  display: flex;
  gap: 6px;
}

.btn-tool {
  flex: 1;
  background: #657fda;
  color: #555;
  border: 1px solid #2a2d3a;
  padding: 7px 4px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-tool:hover { background: #252836; color: #ccc; }
.btn-tool.active { background: #252836; color: var(--color-primary); border-color: var(--color-primary); }

/* ── SLIDER GROUP (neumorphic) ── */
.slider-group {
  background: var(--bg-deep);
  padding: 16px 14px;
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.35);
}

.custom-slider:disabled, 
.slider-btn:disabled,
.ai-checkbox:disabled,
.btn-tool:disabled,
.frame-btn:disabled,
.btn-use-frame:disabled,
.btn-change-video:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none; /* Evita cualquier interacción */
}

.slider-control { margin-bottom: 20px; }
.slider-control:last-child { margin-bottom: 0; }

.slider-control label {
  display: block;
  color: #a0a0a8;
  font-size: 9.5px;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.slider-control label span {
  color: #fff;
  font-weight: 700;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Round +/- buttons */
.slider-row button {
  background: #1b1d24 !important;
  color: #ccc;
  border: 1px solid #111 !important;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  line-height: 1;
  box-shadow: none;
  transition: 0.15s;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
.slider-row button:hover { background: #252836 !important; color: #fff; }
.slider-row button:active { transform: scale(0.93); }

/* ── CUSTOM SLIDER ── */
.custom-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 20px;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* WebKit track */
.custom-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 7px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, var(--c1, #6a5acd), var(--c2, #3adea2)) 0 0 / var(--val, 0%) 100% no-repeat,
    #12141a;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.04);
}

/* WebKit thumb */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background-color: #1b1d24;
  background-image: radial-gradient(circle at center, var(--c2, #3adea2) 0%, var(--c2, #3adea2) 22%, transparent 24%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.65), inset 0 1px 1px rgba(255,255,255,0.1);
  border: 1px solid #111;
  cursor: pointer;
  margin-top: -8px;
  transition: transform 0.1s;
}
.custom-slider:active::-webkit-slider-thumb { transform: scale(1.12); }

/* Firefox track */
.custom-slider::-moz-range-track {
  width: 100%;
  height: 7px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, var(--c1, #6a5acd), var(--c2, #3adea2)) 0 0 / var(--val, 0%) 100% no-repeat,
    #12141a;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
  border: none;
}

/* Firefox thumb */
.custom-slider::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background-color: #1b1d24;
  background-image: radial-gradient(circle at center, var(--c2, #3adea2) 0%, var(--c2, #3adea2) 22%, transparent 24%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.65), inset 0 1px 1px rgba(255,255,255,0.1);
  border: 1px solid #111;
  cursor: pointer;
  transition: transform 0.1s;
}
.custom-slider:active::-moz-range-thumb { transform: scale(1.12); }

/* ── AI TOGGLE ── */
.ai-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a0a0a8;
  font-size: 12px;
  cursor: pointer;
  padding: 10px 12px;
  background: rgba(106, 90, 205, 0.08);
  border: 1px solid rgba(106, 90, 205, 0.22);
  border-radius: 8px;
  transition: 0.2s;
}
.ai-toggle-label:hover { color: #fff; border-color: rgba(106,90,205,0.5); }

.ai-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #1b1d24;
  border: 2px solid #383d5d;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.ai-checkbox:checked { background: var(--color-primary); border-color: var(--color-primary); }
.ai-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

/* ── ACTION BUTTONS ── */
.actions { display: flex; flex-direction: column; gap: 7px; }

.btn {
  width: 100%;
  border: none;
  padding: 11px 15px;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: none;
}

.btn-warning { background-color: #e1521a; color: #fff; }
.btn-warning:hover { background-color: #f06330; }

.btn-danger {
  background-color: var(--color-danger);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px;
}
.btn-danger:hover { background-color: #e0535f; }

.btn-success { background-color: var(--color-success); color: #fff; }
.btn-success:hover { background-color: #3a9a26; }

.btn-reset {
  background-color: #2a2d3a;
  color: #aaa;
  border: 1px solid #3a3d4d;
  box-shadow: none;
}
.btn-reset:hover { background-color: #333649; color: #fff; border-color: #555; }

/* ── LOADER ── */
.loader-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}
.loader-text { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.loader-bar { width: 220px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-bar-inner {
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: loader-slide 1.4s ease-in-out infinite;
}
@keyframes loader-slide {
  0%   { transform: translateX(-200%); }
  100% { transform: translateX(500%); }
}

/* ── CANVAS AREA WRAPPER ── */
.canvas-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
}

/* ── CANVAS TOOLBAR ── */
.canvas-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.canvas-toolbar::-webkit-scrollbar { display: none; }

/* Bloque de grupo — similar al slider-group del sidebar */
.tb-group {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 5px 8px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04);
}

.toolbar-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.13);
  margin: 0 2px;
  flex-shrink: 0;
}

/* Botones de flujo dentro del toolbar (reemplazan .btn en este contexto) */
.tb-action {
  opacity: 1 !important;
}
.tb-warning { background: #e1521a !important; }
.tb-warning:hover { background: #f06330 !important; }
.tb-success { background: var(--color-success) !important; }
.tb-success:hover { background: #3a9a26 !important; }
.tb-reset { background: #2a2d3a !important; color: #aaa !important; border: 1px solid #3a3d4d; }
#btnUndo:disabled, #btnRedo:disabled { opacity: 0.3; cursor: default; }

.canvas-toolbar .btn-tool {
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.45;
}
.canvas-toolbar .btn-tool.active  { opacity: 1; }
.canvas-toolbar .btn-tool:hover   { opacity: 0.85; }
.canvas-toolbar .btn-tool:active  { transform: scale(0.96); }

#btnToggleAd     { background: #ce414e; }
#btnTogglePoints { background: #e8a020; }
#btnResetPoints  { background: #3d5a80; }
#btnCursorTool   { background: #0891b2; }
#btnCursorTool.active { background: #0891b2; box-shadow: 0 0 0 2px #67e8f9, 0 0 14px rgba(8,145,178,0.5); }
#btnPenTool      { background: #7c3aed; opacity: 0.75; }
#btnPenTool.active { background: #7c3aed; opacity: 1; box-shadow: 0 0 0 2px #a78bfa, 0 0 14px rgba(124,58,237,0.55); }

/* ── WORK AREA ── */
.work-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 20px;
  background: radial-gradient(circle, #252836 0%, #1b1d24 100%);
  overflow: hidden;
  min-height: 0;
}

#compareControlUI {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: none;
  align-items: center;
  gap: 15px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
}

.canvas-container {
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid #333;
  overflow: hidden;
  background-color: #000;
}

/* Compare */
.compare-divider { position: absolute; top: 0; bottom: 0; width: 0px; z-index: 10; pointer-events: none; }
.compare-range {
  flex: 1;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: #333;
  accent-color: var(--color-secondary);
}
.compare-label { font-size: 0.72rem; color: var(--text-dim); white-space: nowrap; }

/* Output */
#outputContainer {
  width: 800px;
  max-width: calc(100% - 40px);
  background: var(--bg-panel);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #333;
}

.download-link {
  display: inline-block;
  background: var(--color-success);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 5px;
  font-weight: bold;
}

.btn-outline {
  background: #2a2d3a;
  color: #aaa;
  border: 1px solid #3a3d4d;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  transition: 0.2s;
}
.btn-outline:hover { color: #fff; background: #333649; border-color: #555; }

/* ── ICONOS FLAT ── */
.btn i,
.btn-tool i,
.btn-outline i,
.download-link i,
.ai-toggle-label i,
.upload-placeholder i {
  font-size: 1.15em;
  vertical-align: middle;
  margin-right: 2px;
}

/* ── SLIDER GROUP HEADERS ── */
.slider-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid;
  font-family: 'Poppins', sans-serif;
}
.render-block {
  border-top: 2px solid rgba(106,90,205,0.5);
}
.render-block .slider-group-header {
  color: #a78ef0;
  border-bottom-color: rgba(106,90,205,0.2);
}
.realtime-block {
  border-top: 2px solid rgba(58,222,162,0.5);
}
.realtime-block .slider-group-header {
  color: var(--color-secondary);
  border-bottom-color: rgba(58,222,162,0.2);
}

/* ── BLEND SELECT ── */
.blend-select {
  width: 100%;
  background: #12141a;
  color: #c0bfcf;
  border: 1px solid #2e3145;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.blend-select:hover  { border-color: var(--color-primary); }
.blend-select:focus  { border-color: var(--color-primary); }
.blend-select option { background: #1b1d24; }

/* ── BOTTOM ACTIONS ROW ── */
.bottom-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bottom-actions-row .btn {
  flex: 1;
  width: auto;
}
.bottom-actions-row .ai-toggle-label {
  flex: 1;
  white-space: nowrap;
}

/* ── AI STRENGTH HINTS ── */
.ai-strength-hints {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 8.5px;
  color: #444;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
}

/* ── RIGHT PANEL ── */
.right-panel {
  width: 280px;
  min-width: 280px;
  background-color: var(--bg-panel);
  border-left: 1px solid #383d5d;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #383d5d transparent;
}
.right-panel::-webkit-scrollbar { width: 4px; }
.right-panel::-webkit-scrollbar-thumb { background: #383d5d; border-radius: 4px; }

/* ── VIDEO DROP AREA ── */
.video-drop-area {
  width: 100%;
  max-width: 100%;
  background: #0e0f14;
  border: 1.5px dashed #2e3145;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}
.video-drop-area:hover { border-color: var(--color-primary); background: #111422; }

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 28px 12px;
  pointer-events: none;
}
.video-icon { font-size: 2.2rem; line-height: 1; margin-bottom: 4px; color: #555; }
.video-placeholder span { font-size: 0.78rem; color: #666; font-weight: 600; }
.video-placeholder small { font-size: 0.6rem; color: #444; }
.video-hint { color: #333 !important; }

/* ── VIDEO PLAYER (auto-sizes to aspect ratio) ── */
#videoPlayer {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 68vh;
  object-fit: contain;
  background: #000;
}

/* ── VIDEO INFO BAR ── */
.video-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #666;
  font-family: 'Poppins', monospace;
  padding: 2px 0;
}
.video-dim-badge {
  background: #1b1d24;
  border: 1px solid #2a2d3a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  color: #888;
  font-family: 'Poppins', sans-serif;
}

/* ── FRAME STEP BUTTONS ── */
.frame-btn {
  background: #1b1d24;
  color: #ccc;
  border: 1px solid #111;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: 1;
  box-shadow: none;
  transition: 0.15s;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
.frame-btn:hover { background: #252836; color: #fff; }
.frame-btn:active { transform: scale(0.93); }

/* ── USE FRAME & CHANGE VIDEO BUTTONS ── */
.btn-use-frame {
  background: linear-gradient(135deg, #fa8c7a, #f4654f);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: none;
  margin-bottom: 6px;
}
.btn-use-frame:hover { background: linear-gradient(135deg, #fb9e8e, #f47460); }
.btn-use-frame--applied {
  background: linear-gradient(135deg, #6a5acd, #a78ef0) !important;
  box-shadow: 0 4px 12px rgba(106,90,205,0.3) !important;
}

.btn-change-video {
  background: #2a2d3a;
  color: #aaa;
  border: 1px solid #3a3d4d;
  box-shadow: none;
  font-size: 11px;
}
.btn-change-video:hover { background: #333649; color: #fff; border-color: #555; }

/* ── MODAL SHORTCUTS ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid #383d5d;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 15px 20px;
    background: #1b1d24;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2e3145;
}

.modal-header h3 { margin: 0; font-size: 14px; color: var(--color-primary); text-transform: uppercase; }

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
}
.modal-close:hover { color: #fff; }

.modal-body { padding: 20px; }

.shortcuts-table { width: 100%; border-collapse: collapse; }
.shortcuts-table td { padding: 10px 0; border-bottom: 1px solid #2e3145; font-size: 12px; color: #ccc; }
.shortcuts-table tr:last-child td { border-bottom: none; }

kbd {
    background: #0e0f14;
    border: 1px solid #383d5d;
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--color-secondary);
    font-family: monospace;
    font-weight: bold;
    margin-right: 4px;
}

/* ========================================== */
/* BLOQUE 2: CSS (AGREGAR AL FINAL DE styles.css) */
/* ========================================== */
.dooh-loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border-top-color: #43e97b;
    border-right-color: #38f9d7;
    animation: dooh-spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.3);
}

@keyframes dooh-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#previewLoadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Crucial: permite seguir moviendo puntos mientras carga */
    backdrop-filter: blur(1px);
    transition: opacity 0.2s ease;
    opacity: 0;
}

/* ── TABS PARA SLIDERS ── */
.tab-toggle {
    display: flex;
    background: #1b1d24;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #383d5d;
}
.tab-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: #383d5d; color: #fff; }