@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Fira+Code:wght@400;500;600;700&display=swap');

:root {
  /* ── Pro Max Dark Theme ── */
  --bg-dark:        #020617;
  --bg:             #020617;
  --surface-dark:   #0F172A;
  --surface-lighter:#1E293B;
  --border-pro:     rgba(255, 255, 255, 0.08);
  --header-bg:      rgba(15, 23, 42, 0.95);

  --primary:        #22C55E; /* Verde Elite */
  --primary-hover:  #16A34A;
  --red:            #EF4444;
  --text-main:      #F8FAFC;
  --black:          #F8FAFC;
  --text-muted:     #94A3B8;
  
  --white:          #FFFFFF;
  --gray-text:      #94A3B8;
  --green:          #22C55E;
  --green-dark:     #15803D;

  /* ── Landing Page Recovery Tokens ── */
  --cyan:           #00e5c3;
  --cyan-dim:       rgba(0, 229, 195, 0.08);
  --cyan-brd:       rgba(0, 229, 195, 0.2);
  --text:           #E2E8F0;
  --muted:          #94A3B8;
  --border:         rgba(255, 255, 255, 0.08);
  --border-h:       rgba(255, 255, 255, 0.15);

  /* ── Typography ── */
  --font-display: 'Fira Code', monospace;
  --font-body:    'Inter', sans-serif;

  /* ── Glassmorphism ── */
  --glass-bg:    rgba(15, 23, 42, 0.8);
  --glass-blur:  blur(16px);
}


body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--black);
  min-height: 100vh;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 60px;
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* ── SPA Navigation ── */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav-btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.main-nav-btn:hover {
  color: var(--text-main);
  background: var(--surface-lighter);
}

.main-nav-btn.active {
  color: var(--primary);
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  font-size: 32px;
  color: var(--black);
  cursor: pointer;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 24px;
  height: 24px;
}
.logo-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}

.ext-status { font-size: 11px; color: var(--gray-text); display: flex; align-items:center; gap: 5px;}
.ext-dot { width: 8px; height: 8px; border-radius: 50%; background: #9CA3AF; }
.ext-dot.ok { background: var(--green); }
.ext-dot.err { background: var(--red); }

/* ── Main layout ─────────────────────────────────────────────── */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-section {
  display: none;
  animation: fadeIn 0.4s ease-out;
}
.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Legacy Split Card (Tradezone) ──────────────────── */
.legacy-split-container {
  display: flex;
  background: var(--surface-dark);
  border: 1px solid var(--border-pro);
  border-radius: 12px;
  padding: 30px;
  gap: 40px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}
.legacy-col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legacy-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid var(--border-pro);
  padding-left: 40px;
}

/* ── Legacy Form Elements ───────────────────────────── */

/* Dropdown Bottom Border */
select.legacy-select-underline {
  width: 100%;
  border: 1px solid var(--border-pro);
  background: var(--surface-lighter);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%2394A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all 0.2s ease;
}
select.legacy-select-underline:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

/* Desktop Legacy Checkboxes & Radio */
.legacy-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
}
.legacy-option input[type="checkbox"],
.legacy-option input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-pro);
  background: var(--surface-lighter);
  border-radius: 4px;
  appearance: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.legacy-option input[type="radio"] { border-radius: 50%; }
.legacy-option input[type="radio"]:checked {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}
.legacy-option input[type="radio"]:checked::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #020617;
  border-radius: 50%;
}

.legacy-option input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}
.legacy-option input[type="checkbox"]:checked::after {
  content: "✔";
  color: #020617;
  font-size: 12px;
  font-weight: 900;
}

/* Legacy Header Title */
.legacy-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Ghost Button Large */
.btn-legacy-ghost {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.05);
}
.btn-legacy-ghost:hover {
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

/* Settings Rows in Right Col */
.legacy-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.legacy-setting-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legacy-setting-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  text-transform: uppercase;
}
.legacy-setting-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Desktop Toggles Switch */
.legacy-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}
.legacy-toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--surface-lighter);
  border: 1px solid var(--border-pro);
  transition: .2s ease;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .2s ease;
  border-radius: 50%;
}
.legacy-toggle input:checked + .toggle-slider {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: var(--primary);
}
.legacy-toggle input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: var(--primary);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Input Stepper Desktop Combo */
.legacy-stepper-wrap {
  display: flex;
  width: 80px;
  height: 34px;
  border: 1px solid var(--border-pro);
  background: var(--surface-lighter);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.legacy-stepper-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}
.legacy-stepper-wrap input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  outline: none;
  color: var(--text-main);
  -moz-appearance: textfield;
}
.legacy-stepper-wrap input::-webkit-outer-spin-button,
.legacy-stepper-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.legacy-stepper-controls {
  display: flex;
  flex-direction: column;
  width: 22px;
  border-left: 1px solid var(--border-pro);
  background: rgba(255, 255, 255, 0.02);
}
.legacy-stepper-btn {
  flex: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.legacy-stepper-btn:first-child { border-bottom: 1px solid var(--border-pro); }
.legacy-stepper-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--primary); }


/* ── Modal (Settings & Editor) ── */
.modal-overlay {
  display: flex; align-items: center; justify-content: center; 
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(2, 6, 23, 0.85); 
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.editor-main-window {
  background: var(--surface-dark);
  width: 900px;
  max-width: 95vw;
  max-height: 90vh; /* Prevent overflowing viewport height */
  border: 1px solid var(--border-pro);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-pro);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.editor-header-icons { display: flex; gap: 15px; }
.editor-header-icons i { cursor: pointer; transition: 200ms; color: var(--text-muted); }
.editor-header-icons i:hover { color: var(--text-main); }
.editor-header-icons i.red-x:hover { color: var(--red); }

.editor-top-tab {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0 0;
}

.editor-tab-item {
  padding: 8px 20px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text-muted);
  background: var(--surface-lighter);
  border: 1px solid var(--border-pro);
  border-radius: 6px;
  transition: all 200ms ease;
}

.editor-tab-item.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.editor-content-area {
  padding: 10px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 15px;
  overflow-y: auto; /* Enable scroll if height overflows */
  flex: 1;
}

.editor-left-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editor-gray-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-pro);
  border-radius: 8px;
  padding: 12px;
}

.editor-section-label {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.editor-input-main {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 4px 0;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.editor-input-main:focus {
  border-bottom-color: var(--primary);
}

.editor-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

select.pro-select {
  width: 100%;
  background: var(--surface-lighter);
  border: 1px solid var(--border-pro);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

select.pro-select.active-val {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.05);
}

/* Force dark styling on select option dropdown lists across all browsers */
select option {
  background-color: #0f172a !important; /* var(--surface-dark) */
  color: #f8fafc !important; /* var(--text-main) */
}

.editor-price-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-pro);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-input-row {
  display: flex;
  align-items: center;
  background: var(--surface-dark);
  border: 1px solid var(--border-pro);
  border-radius: 6px;
  overflow: hidden;
}

.price-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-family: var(--font-display);
  transition: 200ms;
}

.price-btn:hover { background: var(--primary); color: #000; }

.price-input-field {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 13px;
  text-align: center;
  outline: none;
}

/* Card Preview */
.editor-right-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(30, 41, 59, 1) 0%, rgba(2, 6, 23, 1) 100%);
  border-radius: 12px;
  border: 1px solid var(--border-pro);
  padding: 20px;
  min-height: 300px;
}

.card-silhouette-wrap {
  width: 200px;
  aspect-ratio: 184 / 256;
  position: relative;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-silhouette-wrap.fallback-card-art {
  border: 1px solid var(--border-pro);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.08), 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.card-silhouette-wrap.has-card-art {
  background-color: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  background-size: contain;
}

.card-player-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s ease;
}

.card-silhouette-bg {
  display: none; /* Substituído por div background-image */
}

/* Vector soccer player silhouette with high contrast glow */
.card-silhouette-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2322c55e" opacity="0.1"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.15));
  transition: opacity 0.3s ease;
}

.card-dynamic-info {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}

.card-dynamic-ovr {
  position: absolute;
  left: 13%;
  top: 22%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.card-dynamic-pos {
  position: absolute;
  left: 13%;
  top: 32%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(34, 197, 94, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-dynamic-badges {
  position: absolute;
  top: 38%;
  left: 13%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.card-dynamic-badges img.badge-flag {
  width: 20px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.card-dynamic-badges img.badge-team {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.card-dynamic-badges img.badge-league {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.card-dynamic-name {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 20%, rgba(15, 23, 42, 0.85) 80%, rgba(15, 23, 42, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  padding: 8px 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  position: absolute;
  bottom: 55px;
  width: 100%;
  text-align: center;
  letter-spacing: 1.5px;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.btn-card-action {
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 8px;
  width: 220px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 5px;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.btn-card-action:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* ── Utility Solid Buttons Redesign ── */
.btn-solid {
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-solid-green {
  background: var(--primary);
  color: #020617;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}
.btn-solid-green:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}
.btn-solid-green:active { transform: translateY(0); }

.btn-solid-red {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}
.btn-solid-red:hover {
  background: #DC2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}
.btn-solid-red:active { transform: translateY(0); }

.btn-solid-orange {
  background: #F59E0B;
  color: #020617;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.btn-solid-orange:hover {
  background: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}
.btn-solid-orange:active { transform: translateY(0); }

/* ── Terminal Activity Log ── */
#tradeLog {
  margin-top: 20px !important;
  border: 1px solid var(--border-pro) !important;
  border-radius: 8px !important;
  min-height: 200px;
  padding: 20px !important;
  background: rgba(15, 23, 42, 0.4) !important;
  font-family: var(--font-display) !important;
  color: var(--text-main) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  overflow-y: auto;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Custom Scrollbar for activity log */
#tradeLog::-webkit-scrollbar {
  width: 6px;
}
#tradeLog::-webkit-scrollbar-track {
  background: transparent;
}
#tradeLog::-webkit-scrollbar-thumb {
  background: var(--border-pro);
  border-radius: 3px;
}
#tradeLog::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ── Settings Section ── */
.legacy-modal-container {
  background: var(--surface-dark);
  border: 1px solid var(--border-pro);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.legacy-modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-pro);
  padding-bottom: 15px;
}

.legacy-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .legacy-modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .legacy-split-container {
    flex-direction: column;
    gap: 20px;
  }
  .legacy-col-right {
    border-left: none;
    border-top: 1px solid var(--border-pro);
    padding-left: 0;
    padding-top: 20px;
  }
}

.legacy-modal-label-bold {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  text-transform: uppercase;
}

.legacy-action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  border-top: 1px solid var(--border-pro);
  padding-top: 20px;
}

