/* BigFans Exif Inyector - Modern Studio UI (Mockup Pixel-Perfect) */

:root {
  --bg-primary: #090d14;
  --bg-card: #0f1623;
  --bg-card-hover: #162032;
  --bg-input: #151e2e;
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #22d3ee;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-blue: #0ea5e9;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(6, 182, 212, 0.5);
  --radius-lg: 16px;
  --radius-md: 10px;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(at 10% 10%, rgba(6, 182, 212, 0.06) 0px, transparent 40%),
    radial-gradient(at 90% 90%, rgba(14, 165, 233, 0.06) 0px, transparent 40%);
  background-attachment: fixed;
}

/* Header */
header {
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  background: rgba(9, 13, 20, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  cursor: pointer;
  letter-spacing: -0.02em;
}

.logo-icon {
  background: linear-gradient(135deg, var(--accent-cyan), #3b82f6);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.nav-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.nav-tag {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.btn-pro {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-pro:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Main Wrapper */
.main-wrapper {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 3rem 1.5rem;
  flex: 1;
}

/* Page Header & Top Mode Switch */
.page-header {
  margin-bottom: 1.75rem;
}

.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.page-header-text {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 400;
}

.top-mode-switch-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Studio 2-Column Grid */
.studio-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .page-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .top-mode-switch-wrapper {
    width: 100%;
  }
  .action-mode-switch {
    width: 100%;
    justify-content: center;
  }
  .mode-switch-btn {
    flex: 1;
    justify-content: center;
  }
  .bottom-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }
  .btn-process-main {
    justify-content: center;
  }
}

/* Left Column: Config Card */
.config-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.config-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Strip / Purge Mode Notice Banner */
.strip-mode-notice {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  animation: fadeInNotice 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.12);
}

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

.strip-notice-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c084fc;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.strip-notice-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e2e8f0;
}

/* One access boundary covers every injection control, including future options. */
.injection-controls {
  display: block;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.injection-controls:disabled {
  opacity: 0.3;
  pointer-events: none;
  filter: grayscale(0.6);
}

.config-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.config-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

/* Device Category Tabs (Móvil, Acción, Pro) */
.device-category-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.cat-tab-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.cat-tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cat-tab-btn.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.cat-tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.cat-tab-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* 1. Device Search Input Box (At Top) */
.device-search-wrapper {
  margin-bottom: 0.85rem;
}

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

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  pointer-events: none;
}

.device-search-input {
  width: 100%;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 0 2rem 0 2.2rem;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.device-search-input:focus {
  border-color: var(--border-active);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.18s ease;
}

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

/* 2. Brand View (Clean 4x3 Brand Grid) */
.brand-view-container {
  margin-bottom: 0.85rem;
}

.brand-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.brand-view-hint {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.brand-logos-grid {
  display: grid;
  grid-template-columns: repeat(var(--brand-cols, 4), 1fr);
  gap: 0.5rem;
}

.brand-logo-tile {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  user-select: none;
}

.brand-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  border-color: rgba(6, 182, 212, 0.45);
}

.brand-logo-tile.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.brand-logo-tile img {
  max-height: 25px;
  max-width: 86%;
  object-fit: contain;
  pointer-events: none;
  display: block;
}

/* 3. Models Drill-Down View */
.models-view-container {
  margin-bottom: 0.85rem;
}

.models-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0 2px;
}

.btn-back-brands {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--accent-cyan);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.38rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-back-brands:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateX(-2px);
}

.back-arrow {
  font-size: 0.85rem;
  line-height: 1;
}

.active-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.badge-logo-img {
  max-height: 16px;
  max-width: 44px;
  object-fit: contain;
  display: block;
}

#activeBrandBadgeName {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
}


/* Scrollable Device Cards List */
.device-cards-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 2px;
  margin-bottom: 0.85rem;
}

.device-card-item {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.18s ease;
}

.device-card-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.device-card-item.active {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.5);
}

.item-left-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.item-brand-logo-badge {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.item-brand-logo-badge img {
  max-height: 18px;
  max-width: 85%;
  object-fit: contain;
  display: block;
}

.item-icon-fallback {
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.item-info-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item-model-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.item-check-mark {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

/* Selected Device Confirmation Pill */
.device-selected-pill {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.pill-left-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.pill-logo-box {
  background: #ffffff;
  border-radius: 4px;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pill-brand-logo {
  max-height: 16px;
  max-width: 48px;
  object-fit: contain;
  display: block;
}

.pill-check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* GPS Location Field */
.gps-field-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.gps-field-btn:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.gps-field-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.gps-pin-icon {
  font-size: 0.95rem;
}

.gps-field-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gps-chevron {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Date Field */
.date-input {
  width: 100%;
  height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.date-input:focus {
  border-color: var(--border-active);
}

.config-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.1rem 0;
}

/* Toggle Rows */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.toggle-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.toggle-check-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  transition: all 0.2s;
}

.toggle-check-btn.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* De-AI Optical Filter Studio Box (Smart HDR & Anti-SynthID) */
.deai-studio-box {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.95rem;
  transition: all 0.25s ease;
}

.deai-studio-box.disabled-filter {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-color);
}

.deai-studio-box.disabled-filter .deai-controls-body {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(0.6);
}

.deai-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.deai-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.deai-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

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

.deai-presets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
  margin-bottom: 0.75rem;
}

.deai-preset-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 0.44rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.deai-preset-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.4);
  color: #fff;
}

.deai-preset-btn.active {
  background: rgba(6, 182, 212, 0.16);
  border-color: var(--accent-cyan);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.22);
}

.deai-preset-icon {
  font-size: 0.88rem;
  line-height: 1;
}

.deai-preset-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deai-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.deai-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deai-slider-label {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--text-dim);
}

.deai-intensity-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.32);
  padding: 0.1rem 0.48rem;
  border-radius: 10px;
}

.deai-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

.deai-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22d3ee;
  border: 2px solid #083344;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.deai-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Format Segmented Selectors (JPG/HEIC & MOV/MP4) */
.format-selectors-group {
  margin-bottom: 0.4rem;
}

.format-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: var(--bg-input);
  padding: 0.24rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.format-seg-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.42rem 0.5rem;
  color: var(--text-dim);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.format-seg-btn:hover {
  color: #fff;
}

.format-seg-btn.active {
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(6, 182, 212, 0.45);
  color: #22d3ee;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Right Column: Workspace */
.workspace-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Dropzone Box */
.dropzone-box {
  background: rgba(15, 22, 35, 0.7);
  border: 2px dashed rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dropzone-box:hover, .dropzone-box.dragover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
  transform: translateY(-1px);
}

.cloud-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  margin: 0 auto 0.75rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.dropzone-subheading {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.btn-explore {
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-explore:hover {
  background: #0284c7;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.4);
}

/* Queue Card */
.queue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.queue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.queue-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.queue-count-badge {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-clear-subtle {
  background: none;
  border: none;
  color: #f43f5e;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-clear-subtle:hover {
  opacity: 0.8;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 260px;
  overflow-y: auto;
}

/* Queue Item (Matching mockup) */
.queue-item {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.queue-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
}

.queue-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.queue-item-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  object-fit: cover;
}

.queue-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.queue-item-size {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.queue-item-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.item-check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-green);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: color 0.2s;
}

.btn-remove-item:hover {
  color: #f43f5e;
}

/* Empty Queue State */
.queue-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  margin: auto;
}

.empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.empty-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.empty-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 320px;
  margin: 0 auto;
}

/* Bottom Action Bar */
.bottom-action-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.summary-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Segmented Mode Switch (Top Bar) */
.action-mode-switch {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.mode-switch-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.62rem 1.35rem;
  border-radius: 26px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.mode-switch-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mode-switch-btn.active#btnModeInject {
  background: rgba(6, 182, 212, 0.22);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.28);
}

.mode-switch-btn.active#btnModeStrip {
  background: rgba(168, 85, 247, 0.26);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.mode-switch-icon {
  font-size: 1.05rem;
}

.mode-switch-text {
  font-size: 0.86rem;
  letter-spacing: 0.015em;
}

.btn-process-main {
  background: #06b6d4;
  color: #042f2e;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-process-main.mode-strip {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn-process-main.mode-strip:hover:not(:disabled) {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.65);
  transform: translateY(-1px);
}

.btn-process-main:hover:not(:disabled) {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
  transform: translateY(-1px);
}

.btn-process-main:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.process-icon {
  font-size: 1.1rem;
}

/* Security & Trust */
.trust-banner {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 22, 35, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.trust-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #0f1623;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

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

.modal-close:hover {
  color: #fff;
}

/* Auth / Modal Tabs */
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.auth-tab {
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.auth-tab:hover {
  color: #fff;
}

.auth-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* Auth Modal Enhanced & Skool / Stripe Perks */
.modal-badge-pro {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.auth-status-msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.auth-status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.auth-status-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.auth-form-container {
  display: flex;
  flex-direction: column;
}

.auth-input-group {
  margin-bottom: 1rem;
}

.auth-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.auth-pill-free {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

.auth-skool-notice-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.skool-notice-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.skool-notice-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.skool-notice-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-input {
  width: 100%;
  background: rgba(10, 15, 24, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.88rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.auth-input.skool-input:focus {
  border-color: var(--accent-gold);
}

.auth-input-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.btn-arrow {
  margin-left: 0.4rem;
  transition: transform 0.2s;
}

.auth-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Perks Divider */
.auth-perks-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 0.85rem;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
}
.auth-perks-divider::before, .auth-perks-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}
.auth-perks-divider span {
  padding: 0 0.75rem;
}

/* Perks Grid */
.auth-perks-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.perk-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  overflow: hidden;
}

.skool-perk {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.skool-perk:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

.stripe-perk {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 165, 233, 0.15) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
}
.stripe-perk:hover {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
}

.perk-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

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

.perk-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.perk-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.perk-badge-corner {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  background: #10b981;
  color: #022c22;
  padding: 0.12rem 0.45rem;
  border-radius: 8px;
}

.perk-price-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.25);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.5);
  padding: 0.12rem 0.45rem;
  border-radius: 8px;
}

.perk-btn-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

/* Nav Skool Link */
.nav-skool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-skool-link:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.6);
  color: #fde68a;
  transform: translateY(-1px);
}

.mode-switch-lock-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  margin-left: 0.35rem;
  letter-spacing: 0.02em;
}

/* GPS Modal Search & Chips */
.gps-search-input {
  width: 100%;
  height: 40px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  margin-bottom: 0.8rem;
  outline: none;
}

.gps-search-input:focus {
  border-color: var(--border-active);
}

.country-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.chip.active, .chip:hover {
  background: var(--accent-cyan);
  color: #042f2e;
  font-weight: 700;
  border-color: var(--accent-cyan);
}

.gps-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 320px;
  overflow-y: auto;
}

.gps-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.gps-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

.gps-item-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
}

.gps-item-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Saved Locations (Clean Dark Studio Theme) */
.saved-user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #22d3ee;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.saved-user-badge {
  font-size: 0.68rem;
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 700;
}

.saved-empty-state {
  text-align: center;
  padding: 2.2rem 1.2rem;
  color: var(--text-muted);
}

.saved-loc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 9px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.saved-loc-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.saved-loc-alias {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.saved-loc-details {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.saved-loc-coords {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.saved-loc-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-delete-saved {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 0.42rem 0.62rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-saved:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  transform: translateY(-1px);
}

.btn-select-saved {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border: none;
  color: #042f2e;
  padding: 0.42rem 0.95rem;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-select-saved:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  color: #022c22;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
  transform: translateY(-1px);
}

/* Smart Maps Paste Box */
.smart-paste-box {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 0.9rem;
}

.smart-paste-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.45rem;
}

.smart-paste-input {
  width: 100%;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  padding: 0 0.75rem;
  font-size: 0.82rem;
  outline: none;
}

.smart-status-badge {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.74rem;
  color: var(--accent-green);
  font-weight: 600;
}

.auth-input-group {
  margin-bottom: 0.8rem;
}

.auth-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.auth-input {
  width: 100%;
  height: 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  padding: 0 0.75rem;
  font-size: 0.82rem;
  outline: none;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.6rem;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #042f2e;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* User Account Modal & Clean Logout */
.perk-card.perk-coming-soon {
  opacity: 0.65;
  cursor: not-allowed;
  border-style: dashed;
  filter: grayscale(0.35);
}

.perk-card.perk-coming-soon:hover {
  transform: none;
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: none;
}

.perk-price-badge.badge-soon {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.4);
  letter-spacing: 0.5px;
}

.account-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.5rem 1.25rem;
}

.account-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  border: 2px solid rgba(245, 158, 11, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.account-user-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.account-user-email {
  font-size: 0.82rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 0.85rem;
}

.account-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}

.account-perks-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.account-perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.account-perk-item .perk-check {
  color: #10b981;
  font-weight: 800;
  font-size: 0.85rem;
}

.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
  transform: translateY(-1px);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

/* Language Switcher (ES / EN) in Header */
.lang-switch-group {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.18rem;
  gap: 0.15rem;
}

.lang-switch-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-switch-btn:hover {
  color: #fff;
}

.lang-switch-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

/* Free Account Verification Box & OTP Input */
.auth-free-benefit-box {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.otp-code-input {
  width: 100%;
  background: rgba(10, 15, 24, 0.9);
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.38em;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.otp-code-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.otp-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  gap: 0.5rem;
}

.btn-link-subtle {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-link-subtle:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.btn-link-subtle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================================================================
   PRO STUDIO ELEVATION (Apple / Linear / Raycast Dark Studio Polish)
   ========================================================================= */

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #060911;
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 45% at 85% 5%, rgba(99, 102, 241, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(14, 165, 233, 0.07), transparent 60%);
}

header {
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: 1140px;
  padding: 0.85rem 1.5rem;
}

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

.logo-main-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.logo-accent {
  background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub-pill {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.32);
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
}

.btn-secondary:hover {
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.22);
}

.main-wrapper {
  max-width: 1140px;
  padding: 1.85rem 1.5rem 2.8rem 1.5rem;
}

/* Hero Section Polish */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Studio 2-Column Layout with Sticky Right Workspace */
.studio-grid {
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.workspace-column {
  position: sticky;
  top: 78px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .workspace-column {
    position: static;
  }
}

/* Elevated Cards with Specular Top Highlight */
.config-card,
.queue-card {
  background: linear-gradient(180deg, rgba(17, 25, 40, 0.92) 0%, rgba(11, 17, 29, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 40px rgba(0, 0, 0, 0.45);
  border-radius: 18px;
}

.config-title-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.config-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #22d3ee;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Refined Dropzone */
.dropzone-box {
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.09), rgba(13, 20, 34, 0.85) 70%);
  border: 1.5px dashed rgba(34, 211, 238, 0.38);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.dropzone-box:hover,
.dropzone-box.dragover {
  border-color: #22d3ee;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.16), rgba(13, 20, 34, 0.92) 75%);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cloud-icon-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.btn-explore {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
  border-radius: 999px;
  padding: 0.52rem 1.35rem;
  font-weight: 700;
}

.btn-explore:hover {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  border-color: transparent;
}

/* PRIMARY ACTION COMMAND DOCK (Right at Eye Level under Dropzone!) */
.action-dock-card {
  background: linear-gradient(135deg, rgba(16, 26, 44, 0.96) 0%, rgba(11, 18, 31, 0.98) 100%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-dock-card.mode-strip-dock {
  border-color: rgba(168, 85, 247, 0.32);
}

.action-dock-card.has-files {
  border-color: rgba(34, 211, 238, 0.65);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.55) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.action-dock-card.has-files.mode-strip-dock {
  border-color: rgba(192, 132, 252, 0.65);
  background: linear-gradient(135deg, rgba(59, 7, 100, 0.45) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.summary-status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
  display: inline-block;
  transition: all 0.25s ease;
}

.status-pulse-dot.ready {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.status-pulse-dot.ready.strip {
  background: #c084fc;
  box-shadow: 0 0 10px #c084fc;
}

.btn-process-main {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0284c7 100%);
  color: #022c22;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 22px rgba(6, 182, 212, 0.35);
  flex-shrink: 0;
}

.btn-process-main:hover:not(:disabled) {
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 50%, #0ea5e9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 28px rgba(34, 211, 238, 0.6);
  transform: translateY(-1.5px);
}

.btn-process-main.mode-strip {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 55%, #6d28d9 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(147, 51, 234, 0.42);
}

.btn-process-main:disabled {
  opacity: 0.42;
  filter: saturate(0.4);
}

/* Modern iOS / macOS Sliding Switch Toggles */
.toggle-row {
  padding: 0.25rem 0;
  margin-bottom: 0.55rem;
}

.toggle-check-btn {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  padding: 0;
  color: transparent !important;
  font-size: 0 !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.toggle-check-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-check-btn.active {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.28);
}

.toggle-check-btn.active::after {
  left: 20px;
  background: #ffffff;
}

.trust-banner {
  margin-top: 0;
  background: rgba(13, 20, 34, 0.65);
  border-radius: 14px;
}

/* GPS Jitter Custom Radius Selector */
.jitter-radius-box {
  background: rgba(8, 13, 24, 0.65);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  margin-top: -0.1rem;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.jitter-radius-box.hidden-jitter {
  display: none;
}

.jitter-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.jitter-pill-btn {
  background: rgba(20, 30, 48, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 0.32rem 0.2rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.jitter-pill-btn:hover {
  color: #f8fafc;
  border-color: rgba(6, 182, 212, 0.35);
}

.jitter-pill-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22) 0%, rgba(16, 185, 129, 0.18) 100%);
  border-color: rgba(6, 182, 212, 0.55);
  color: #67e8f9;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15);
}

.jitter-slider-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.jitter-slider {
  flex: 1;
}

.jitter-meters-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  min-width: 54px;
  text-align: center;
}

