/* style.css - Prémiový moderný dizajn s Glassmorphismom a Dark/Light Režimom */

:root {
  /* Globálne farebné premenné (Svetlý režim ako východiskový) */
  --bg-app: #f4f6fc;
  --bg-sidebar: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --border-color: rgba(226, 232, 240, 0.8);
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  
  --primary: #4f46e5;      /* Indigo */
  --primary-hover: #4338ca;
  --primary-light: rgba(79, 70, 229, 0.1);
  
  --success: #10b981;      /* Emerald Green */
  --success-light: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;      /* Amber Orange */
  --warning-light: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;       /* Rose Red */
  --danger-light: rgba(239, 68, 68, 0.1);
  --purple: #8b5cf6;       /* Violet */
  --purple-light: rgba(139, 92, 246, 0.1);
  --dark: #0f172a;         /* Slate dark */
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-blur: blur(16px);
}

/* Tmavý režim - prepínaný triedou na body */
body.dark-mode {
  --bg-app: #090d16;
  --bg-sidebar: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --border-color: rgba(51, 65, 85, 0.5);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.15);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* ZÁKLADNÝ RESET A NASTAVENIE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* USPORIADANIE APLIKÁCIE */
.app-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* BOČNÝ PANEL (SIDEBAR) */
.sidebar {
  width: 280px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding-left: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
}

.brand-info h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-info span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.nav-item.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav-item .icon {
  font-size: 1.2rem;
}

/* PREPÍNAČ POBOČIEK V BOČNOM PANELI */
.branch-selector-wrapper {
  margin-top: auto;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.branch-selector-wrapper label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.select-wrapper {
  position: relative;
}

select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-app);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: var(--transition);
}

select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.sidebar-footer {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

/* HLAVNÝ OBSAH */
.main-content {
  flex-grow: 1;
  margin-left: 280px;
  padding: 2rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HORNÁ LIŠTA (TOPBAR) */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.page-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.page-title p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.btn-icon {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.25rem;
  padding: 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: var(--primary-light);
  transform: rotate(15deg);
}

/* OBSAHOVÉ SEKCIE ZOBRAZENIE */
.content-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ŠTATISTICKÉ KARTY */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.stat-icon {
  font-size: 1.75rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.purple { background-color: var(--purple-light); }
.stat-icon.red { background-color: var(--danger-light); }
.stat-icon.orange { background-color: var(--warning-light); }
.stat-icon.green { background-color: var(--success-light); }

.stat-data {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* DASHBOARD GRAFY A PREHĽADY */
.dashboard-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.chart-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.chart-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

/* Kruhový ukazovateľ úspešnosti */
.success-ratio-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  padding: 1rem 0;
}

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0%, var(--border-color) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.circular-progress::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--bg-sidebar);
}

.progress-value {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.success-stats-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.success-stats-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.text-green { color: var(--success); }
.text-red { color: var(--danger); }

/* Distribúcia statusov v stĺpcoch */
.status-distribution {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.status-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-bar-track {
  width: 100%;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.status-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease-in-out;
}

/* FILTROVACIA LIŠTA */
.filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  font-weight: 500;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* TABUĽKA REKLAMÁCIÍ */
.table-container {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.claims-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.claims-table th {
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.5px;
}

.claims-table td {
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.claims-table tbody tr {
  transition: var(--transition);
}

.claims-table tbody tr:hover {
  background-color: var(--primary-light);
}

/* BADGES (STATUSY A LEHOTY) */
.status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.prijata { background-color: var(--warning-light); color: var(--warning); }
.status-badge.v-rieseni { background-color: var(--primary-light); color: var(--primary); }
.status-badge.odoslana-dodavatelovi { background-color: var(--purple-light); color: var(--purple); }
.status-badge.vybavena-uznana { background-color: var(--success-light); color: var(--success); }
.status-badge.vybavena-zamietnuta { background-color: var(--danger-light); color: var(--danger); }
.status-badge.uzavreta { background-color: var(--border-color); color: var(--text-secondary); }

.days-badge {
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.days-badge.safe { background-color: var(--success-light); color: var(--success); }
.days-badge.warning { background-color: var(--warning-light); color: var(--warning); }
.days-badge.critical { background-color: var(--danger-light); color: var(--danger); animation: pulse 2s infinite; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* TLAČIDLÁ A AKCIE */
.btn-primary, .btn-secondary, .btn-success {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-muted);
}

.btn-success {
  background-color: var(--success);
  color: white;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
  background-color: #059669;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* FORMULÁR PRE NOVÚ REKLAMÁCIU */
.form-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-section h3 {
  font-size: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-app);
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* MODAL: DETAIL REKLAMÁCIE */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(9, 13, 22, 0.6);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 1000px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  animation: modalSlide 0.3s ease forwards;
}

@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 1.25rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 2rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 850px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
}

.claim-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-status-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.info-block h4 {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.description-text {
  background-color: var(--bg-app);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  border-left: 3px solid var(--primary);
}

/* HISTÓRIA / TIMELINE */
.timeline {
  margin: 1rem 0 2rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--bg-sidebar);
}

.timeline-item.vybavena::before { background-color: var(--success); }
.timeline-item.prijata::before { background-color: var(--warning); }

.timeline-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* KARTA PRE ZMENU STATUSU */
.status-change-card {
  background-color: var(--bg-app);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.status-change-card h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* TLAČOVÝ LAYOUT - SKRYTÝ V APLIKÁCII */
.only-print {
  display: none;
}

/* TLAČOVÝ DIZAJN (TLAČ) */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  
  .no-print {
    display: none !important;
  }
  
  .only-print {
    display: block !important;
  }
  
  .print-layout {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .company-details h1 {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
  }
  
  .company-details p {
    font-size: 12px;
    color: #4a5568;
    line-height: 1.4;
  }
  
  .document-title {
    text-align: right;
  }
  
  .document-title h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2b6cb0;
  }
  
  .document-title h3 {
    font-size: 16px;
    font-weight: bold;
  }
  
  .document-title p {
    font-size: 12px;
  }
  
  .print-divider {
    border: 0;
    border-top: 2px solid #2b6cb0;
    margin-bottom: 25px;
  }
  
  .print-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
  }
  
  .print-column h3, .print-section h3 {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #2b6cb0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }
  
  .print-column p {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .print-text-box {
    border: 1px solid #cbd5e0;
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    min-height: 80px;
    background-color: #f7fafc;
    line-height: 1.5;
  }
  
  .print-section {
    margin-bottom: 20px;
  }
  
  .print-grid-inner {
    display: flex;
    gap: 30px;
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .print-signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  
  .signature-box {
    width: 250px;
    text-align: center;
  }
  
  .signature-box p {
    font-size: 11px;
    color: #4a5568;
  }
  
  .print-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    text-align: center;
    font-size: 9px;
    color: #718096;
    line-height: 1.4;
  }
}

/* HUB PREPÍNAČ AGENDY */
.hub-btn:hover {
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
}

.hub-btn.active {
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.hub-btn.active[data-hub="retail"] {
  background: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.hub-btn.active[data-hub="stores"] {
  background: var(--success) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hub-btn.active[data-hub="vo"] {
  background: var(--purple) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* VIZUÁLNE STAVOVÉ WORKFLOW TLAČIDLÁ */
.btn-stage {
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-app);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-stage:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.btn-stage.active {
  background: var(--purple) !important;
  color: white !important;
  border-color: var(--purple) !important;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-stage-danger:hover {
  background: var(--danger-light) !important;
  color: var(--danger) !important;
  border-color: var(--danger) !important;
}

.btn-stage-danger.active {
  background: var(--danger) !important;
  color: white !important;
  border-color: var(--danger) !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* PRIHLASOVANIE A ADMIN ZÓNA */
#login-overlay {
  transition: opacity 0.3s ease;
}

.admin-container {
  animation: fadeIn 0.4s ease;
}

#admin-users-table-body tr {
  transition: var(--transition);
}

#admin-users-table-body tr:hover {
  background-color: var(--primary-light);
}

#model-stats-table-body td {
  padding: 0.75rem 1rem;
}

#model-stats-table-body tr:hover {
  background-color: var(--primary-light);
}


