/* ===============================
   🧭 BASE STYLES
   =============================== */

html, body {
  font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #1e293b; /* slate-800 */

  line-height: 1.5;
}

/* Osnovni elementi */
input, textarea, select, button {
  font-family: inherit;
  font-size: 0.95rem;
  color: inherit;
}

/* Naslovi */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #0f172a; /* slate-900 */
}

.rounded-3xl {
  border-radius: 1rem !important;
}

.rounded-2xl {
  border-radius: 0.875rem !important;
}

.rounded-xl {
  border-radius: 0.75rem !important;
}

.rounded-lg {
  border-radius: 0.625rem !important;
}

.sidebar {
  width: 18rem;
  top: 0;
  bottom: 0;
}

.sidebar-shell {
  background: #ffffff;
}

.sidebar-link {
  color: #475569;
}

.sidebar-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.sidebar-link-icon {
  background: #f8fafc;
  color: #ea580c;
  border: 1px solid #e2e8f0;
}

.sidebar-link.is-active {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  color: #111827;
  box-shadow: inset 0 0 0 1px #fdba74;
}

.sidebar-link.is-active .sidebar-link-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.topbar,
.content-wrap {
  margin-left: 18rem;
}

.topbar {
  transition: margin-left 0.2s ease;
}

.content-wrap {
  transition: margin-left 0.2s ease;
}

@media (max-width: 767px) {
  .sidebar {
    position: relative;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .topbar,
  .content-wrap {
    margin-left: 0;
  }
}

    .status-dot {
      width: .625rem;
      height: .625rem;
      border-radius: 9999px;
      display: inline-block;
      margin-right: .5rem;
    }

    .bottom-bar {
      position: fixed; bottom: 0; left: 0; right: 0;
      margin-left: 18rem;
      background: white;
      border-top: 1px solid #e2e8f0;
      padding: 1rem 2rem;
      z-index: 50;
      transition: margin-left .3s;
    }
    @media (max-width: 767px) {
      .bottom-bar { margin-left: 0; }
    }

    /* toggle PDV */
    .toggle-switch { position: relative; width: 50px; height: 26px; }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
      background-color: #cbd5e1; transition: .3s; border-radius: 9999px; }
    .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px;
      background-color: white; transition: .3s; border-radius: 50%; }
    input:checked + .slider { background-color: #ea580c; }
    input:checked + .slider:before { transform: translateX(24px); }

    .item-card { transition: all .2s ease; }
    .item-card:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
