/* ============================================================
   TESTCAMPS.COM — Custom Styles (Tailwind üstünə əlavə)
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #ea580c;
}

/* Smooth transitions */
* { transition: background-color 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Toast animation */
.toast-enter { animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Navbar active tab */
.nav-tab.active { background: var(--primary); color: white; }
.nav-tab:not(.active):hover { background: rgba(255,255,255,0.1); }

/* Sidebar nav */
.sidebar-link { transition: all 0.15s; }
.sidebar-link:hover { background: #f3f4f6; }
.sidebar-link.active { background: #2563eb; color: white; }
.sidebar-link.active:hover { background: #1d4ed8; }

/* Card hover effect */
.card-hover:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }

/* Question option styling */
.option-btn { cursor: pointer; transition: all 0.15s; }
.option-btn:hover { border-color: #93c5fd; background: #eff6ff; }
.option-btn.selected { border-color: #2563eb; background: #dbeafe; color: #1d4ed8; }
.option-btn.correct { border-color: #16a34a; background: #dcfce7; color: #166534; }
.option-btn.wrong { border-color: #dc2626; background: #fef2f2; color: #991b1b; }

/* Timer pulse */
.timer-pulse { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Stats card */
.stat-card { transition: transform 0.15s; }
.stat-card:hover { transform: scale(1.02); }

/* Table row hover */
.table-row:hover { background: #f9fafb; }

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #9ca3af;
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* Print styles */
@media print {
  .no-print { display: none !important; }
  body { background: white; }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .sidebar { display: none; }
  .sidebar.mobile-open { display: block; position: fixed; inset: 0; z-index: 40; background: white; }
}
