  ::-webkit-scrollbar {
    width: 6px;
    height: 7px;
  }

  ::-webkit-scrollbar-track {
    background: #dfe2e3;
  }

  ::-webkit-scrollbar-thumb {
    background: #fdce0f;
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #e5b90d;
  }

  body {
    background-color: #dfe2e3;
    background-image:
      radial-gradient(circle at top left, rgba(253, 206, 15, 0.12), transparent 28%),
      radial-gradient(circle at bottom right, rgba(26, 26, 26, 0.06), transparent 30%);
    scroll-behavior: smooth;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  .modal-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .modal-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .uplatnica-bg {
    background-color: #fffdfd;
    border: 1px solid #dc2626;
  }

  .uplatnica-linija {
    border-bottom: 1px solid #fca5a5;
  }

  /* Sklanja strelice kod input type="number" */
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
  }

  select option {
    background-color: #1a1a1a !important;
    color: white !important;
    padding: 10px;
  }

  select {
    color: black;
    background-color: white;
  }

  :focus-visible {
    outline: 3px solid #fdce0f;
    outline-offset: 3px;
    border-radius: 0.75rem;
  }

  #o-meni .text-gray-500,
  #kontakt .text-gray-500,
  #programi .text-gray-500 {
    color: #4b5563 !important;
  }

  #programi .category-card,
  #programi .subcategory-card,
  #kontakt .contact-card,
  #imam-kod-container button {
    min-height: 56px;
  }

  #programi .category-card:focus-visible,
  #programi .subcategory-card:focus-visible,
  #kontakt .contact-card:focus-visible {
    box-shadow: 0 0 0 4px rgba(253, 206, 15, 0.35);
  }

  #kontakt .contact-card p {
    font-size: 0.95rem;
  }

  #ebook .group:hover img {
    transform: translateY(-10px) rotate(2deg);
  }

  #o-meni img {
    filter: saturate(1.03) contrast(1.02);
  }

  #programi .category-card,
  #programi .subcategory-card,
  #kontakt .contact-card,
  #ebookDugme,
  #ebook .bg-white\/10,
  #o-meni>div {
    box-shadow: 0 18px 45px rgba(26, 26, 26, 0.08);
  }

  @media (max-width: 768px) {

    #programi .category-card:hover,
    #programi .subcategory-card:hover,
    #kontakt .contact-card:hover,
    #imam-kod-container button:hover {
      transform: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  #playerFrameWrapper.book-reader-mode {
    aspect-ratio: auto;
    height: 78vh;
    min-height: 74vh;
    max-height: 82vh;
    background: #000000;
    border-color: rgba(255, 255, 255, 0.1);
  }

  #playerFrameWrapper.book-reader-mode #mainVideoFrame {
    background: #000000;
  }

  @media (max-width: 768px) {
    #playerFrameWrapper.book-reader-mode {
      height: 70vh;
      min-height: 66vh;
      max-height: 72vh;
      border-radius: 1.25rem;
    }
  }