body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1600px) {
  body {
    font-size: 80%;
  }
}

/* Buttons */
.btn-primary {
  background-color: #fba01c;
  color: #201c1d;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover {
  background-color: #e69010;
}

/*** Order Form Styles ***/
/* Overlay */
#overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.order-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100%;
  background: #fff;
  box-shadow: -3px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.order-overlay.active {
  right: 0;
}

#overlay-bg.active {
  display: block;
}

.close-overlay {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.order-form-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  overflow-y: auto;
}

/* Overlay styles */
/* .order-overlay,
#overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
}

#overlay-bg {
  background-color: rgba(32,28,29,0.5);
  z-index: 998;
} */

/* ---- Header START ---- */
.main-header {
  position: fixed;
  top: 0;
  left: 250px;
  right: 0;
  /* width: 100%; */
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
}

/* Working hours styles */
.working-hours {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  /* width: 74%; */
  /* margin-left: 14rem; */
}

.working-hours i {
  margin-right: 10px;
  color: #555;
}

.hours-info p {
  margin: 0;
}

.hours-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 100;
  min-width: 250px;
  cursor: default;
}

.working-hours:hover .hours-dropdown {
  display: block;
}

.hours-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-dropdown li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.hours-dropdown dt {
  font-weight: bold;
  margin-right: 10px;
}

/* User menu styles */
.right-part-of-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.user-menu {
  display: flex;
  align-items: center;
  position: relative;
}

.user-info {
  margin-right: 15px;
}

.user-info p {
  margin: 0;
}

.user-dropdown {
  position: static;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dropdown-toggle img {
  border-radius: 50%;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: -5px;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 0;
  min-width: 200px;
  z-index: 100;
}

.user-menu:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

.dropdown-menu i {
  margin-right: 10px;
  width: 16px;
}

.auth-links a {
  display: inline-block;
  margin-left: 15px;
  text-decoration: none;
  color: #333;
}

.auth-links a:hover {
  text-decoration: underline;
}
/* ---- Header END ---- */

/* ----------------- PAGINACIJA CSS START ------------- */
.pagination-container {
  position: fixed;
  bottom: 0;
  left: 250px;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 20px;
}

.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.pagination-nav .pagination-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.pagination-nav .pagination-list li {
  margin: 0;
}

.page-btn {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #201c1d;
  border: 1px solid #fba01c;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled) {
  background: #f5f5f5;
  border-color: #bbb;
}

.page-btn.active {
  background: #fba01c;
  color: #201c1d;
  border-color: #fba01c;
}

.page-btn.disabled {
  color: #999;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-info {
  font-size: 14px;
  color: #666;
}

.pagination-info strong {
  color: #201c1d;
}

.per-page-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.per-page-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.per-page-btn {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: #666;
  border: 1px solid #fba01c;
  border-radius: 3px;
  font-size: 12px;
  transition: all 0.2s ease;
}

.per-page-btn:hover {
  background: #f5f5f5;
}

.per-page-btn.active {
  background: #fba01c;
  color: #201c1d;
  border-color: #fba01c;
}

/* Add bottom padding to main content to avoid overlap */
.dashboard-main {
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .pagination-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .pagination-nav .pagination-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-info {
    text-align: center;
  }
}
/* ----------------- PAGINACIJA CSS START ------------- */


/* Header: full width when no sidebar (guest view) */
.main-header--full {
  left: 0;
}