/* ==========================================================
   Etsy Seller Tool - Modern Görsel Tema
   ÖNEMLİ: Bu dosya SADECE görünümü değiştirir. Hiçbir form,
   route veya JS davranışı burada değiştirilmez/bozulmaz.
   ========================================================== */

:root {
  --brand-50:  #fdf4ff;
  --brand-100: #f6e6fb;
  --brand-500: #8b5cf6;
  --brand-600: #7c3aed;
  --brand-700: #6d28d9;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --ink-900: #1e1b2e;
  --ink-700: #453f5c;
  --ink-500: #6b6480;
  --surface-0: #ffffff;
  --surface-50: #f8f7fb;
  --surface-100: #f1eef8;
  --border-soft: #e8e4f2;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 2px 10px rgba(76, 29, 149, 0.06), 0 1px 2px rgba(76, 29, 149, 0.04);
  --shadow-hover: 0 8px 24px rgba(76, 29, 149, 0.12), 0 2px 6px rgba(76, 29, 149, 0.06);
}

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

body {
  background: linear-gradient(180deg, var(--surface-50) 0%, var(--surface-100) 100%);
  background-attachment: fixed;
  color: var(--ink-700);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 { font-weight: 800; }

/* --- Navbar --- */
.navbar.bg-dark {
  background: linear-gradient(120deg, var(--ink-900) 0%, #2d2447 100%) !important;
  box-shadow: 0 2px 16px rgba(30, 27, 46, 0.25);
}
.navbar-brand {
  font-weight: 800 !important;
  font-size: 1.15rem;
  color: #fff !important;
}
.nav-tabs {
  border-bottom: none;
  gap: 4px;
}
.nav-tabs .nav-link {
  color: rgba(255,255,255,0.65) !important;
  border: none !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  transition: all 0.15s ease;
}
.nav-tabs .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.nav-tabs .nav-link.active {
  color: #fff !important;
  background: rgba(139, 92, 246, 0.35) !important;
  box-shadow: inset 0 -3px 0 var(--accent-500);
}
.nav-tabs .nav-link .badge {
  font-weight: 600;
  font-size: 0.65rem;
}

/* --- Cards --- */
.card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--surface-0);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}
.card-body {
  padding: 1.35rem;
}
.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--ink-900);
}

.col-6 .card, .col-4 .card, .col-3 .card {
  border-radius: var(--radius-md);
}

/* --- Buttons --- */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
  padding: 0.5rem 1.1rem;
}
.btn-sm {
  border-radius: 7px;
  padding: 0.35rem 0.75rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  border: none;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--brand-700), #5b21b6);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transform: translateY(-1px);
}
.btn-success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: none;
}
.btn-success:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-1px);
}
.btn-outline-primary {
  color: var(--brand-600);
  border-color: var(--brand-500);
}
.btn-outline-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  transform: translateY(-1px);
}
.btn-outline-secondary {
  color: var(--ink-500);
  border-color: var(--border-soft);
}
.btn-outline-secondary:hover {
  background: var(--ink-700);
  border-color: var(--ink-700);
  transform: translateY(-1px);
}
.btn-outline-success:hover, .btn-outline-danger:hover {
  transform: translateY(-1px);
}
.btn-link {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: none;
}
.btn-link:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

/* --- Forms --- */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-control-sm, .form-select-sm {
  border-radius: 7px;
}
.form-label {
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* --- Alerts --- */
.alert {
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  border-left: 4px solid transparent;
}
.alert-info {
  background: #eef2ff;
  color: #3730a3;
  border-left-color: #6366f1;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border-left-color: #10b981;
}
.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-left-color: #ef4444;
}
.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left-color: #f59e0b;
}
.alert-secondary {
  background: var(--surface-100);
  color: var(--ink-700);
  border-left-color: var(--ink-500);
}
.alert-light {
  background: var(--surface-50);
  border: 1px solid var(--border-soft);
}

/* --- Badges --- */
.badge {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 0.35em 0.65em;
}

/* --- Tables --- */
.table {
  color: var(--ink-700);
}
.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  border-bottom: 2px solid var(--border-soft);
  font-weight: 700;
}
.table td {
  vertical-align: middle;
  border-color: var(--border-soft);
}
.table-hover tbody tr:hover {
  background-color: var(--brand-50);
}

/* --- Images / thumbnails --- */
img.rounded, img.img-fluid {
  border-radius: var(--radius-sm);
}

/* --- Progress bar --- */
.progress {
  border-radius: 999px;
  background: var(--surface-100);
}
.progress-bar {
  border-radius: 999px;
}

/* --- Footer --- */
footer {
  color: var(--ink-500) !important;
  font-size: 0.8rem;
}

/* --- Misc --- */
code {
  word-break: break-all;
  background: var(--surface-100);
  color: var(--brand-700);
  padding: 0.15em 0.4em;
  border-radius: 5px;
  font-size: 0.85em;
}
hr {
  border-color: var(--border-soft);
  opacity: 1;
}
.list-group-item {
  border-color: var(--border-soft);
}
.list-group-item-action:hover {
  background: var(--brand-50);
}
