/* Genel sayfa arka planı ve yazı boyutu */
body {
  background: #f8f9fa;    /* Açık gri arka plan */
  font-size: 16px;        /* Rahat okunabilir yazı boyutu */
}

/* Kategori ve ürün görselleri için kutular */
.category-img,
.product-img {
  height: 100px;                /* Sabit yükseklik */
  background-color: #f2f2f2;    /* Açık kutu arka planı */
  border-radius: 10px;          /* Köşeleri yuvarlatır */
  font-weight: bold;            /* Yazıyı kalın yapar */
  color: #666;                  /* Yazı rengi gri */
  display: flex;                /* İçeriği ortalamak için */
  align-items: center;
  justify-content: center;
}

/* Navbar logosu için resim boyutu */
.navbar-brand img {
  height: 32px;    /* Sabit logo yüksekliği */
}

/* Menüdeki liste elemanları (kenarlıksız, içe yaslı) */
.list-group-item {
  border: none;         /* Kenarlık kaldırılır */
  padding-left: 10px;   /* Sol boşluk bırakılır */
}

/* Menü bağlantısı üzerine gelindiğinde altı çizilir */
.offcanvas-body a:hover {
  text-decoration: underline;
}

/* Geri dön butonu için ortak stil */
.btn-back {
  height: 40px;
  display: block;               /* Satırı tamamen kaplasın */
  width: 100%;                  /* Tam genişlik */
  background-color: #dc3545;    /* Kırmızı */
  color: #fff;
  padding: 6px;
  margin-top: 10px;
  font-size: 18px;
  font-weight: regular;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
  transition: all 0.2s ease-in-out;
}

.btn-back:hover {
  background-color: #bb2d3b;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-back:active {
  transform: scale(0.97);
}

/* Aktif pozisyona göre rozet renkleri (isteğe bağlı) */
.badge-admin {
  background-color: #6f42c1;
}

.badge-depo {
  background-color: #0d6efd;
}

.badge-musteri {
  background-color: #198754;
}


body {
  background-color: #f7f7f7;
  font-size: 16px;
}

.kategori-kart {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kategori-kart img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.kategori-kart .isim {
  font-weight: 600;
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-grup {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 12px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: none;
}

.btn-icon-warning {
  background-color: #ffc107;
  color: #000;
}

.btn-icon-danger {
  background-color: #dc3545;
  color: #fff;
}

/* Menü başlıkları için */
.offcanvas .accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
}

/* Menü alt bağlantılar için */
.offcanvas .accordion-body a,
.offcanvas .list-group-item {
  font-size: 1rem;
  padding: 0.6rem 1.25rem;
}

/* İkonları biraz daha vurgulu hale getirelim */
.offcanvas .accordion-button,
.offcanvas .list-group-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobilde biraz daha büyük tıklanabilir alan */
@media (max-width: 576px) {
  .offcanvas .accordion-button,
  .offcanvas .list-group-item a {
    font-size: 1.15rem;
  }
}

.menu-icon {
  font-size: 1.2em;
}