/**
 * Base Styles - Hovfaret 13 Dashboard
 * Reset, typography, and global styles.
 */

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: var(--font-family);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 14px;
  height: 100vh;
  overflow: hidden;
}

/* ===== LINKS ===== */
a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #1d4ed8;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* ===== PRINT STYLES ===== */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .nav,
  .nav-bar,
  .header-nav,
  nav,
  .back-link,
  .auth-overlay,
  .copy-btn,
  button:not([type="submit"]),
  .design-switcher,
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  .container,
  .app-container,
  main {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem !important;
  }

  a {
    color: black !important;
    text-decoration: underline !important;
  }

  .card,
  .section,
  .slide-card {
    break-inside: avoid !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
