/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template/simple-sidebar)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */

 #wrapper {
    overflow-x: hidden;
 }

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -15rem;
  margin-right: 3px; /*bunu sonradan ekledim*/
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.5rem 1.25rem; /*orjinali 0.875rem di*/
  font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
  width: 15rem;
}

#page-content-wrapper {
  /* min-width: 100vw; */
  width: 100%;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: 0;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: -15rem;
  }
}

   .mobileHide { display: inline;}
   /* Smartphone Portrait and Landscape */
   @media only screen
   and (min-device-width : 320px)
   and (max-device-width : 480px){  .mobileHide { display: none;}}

/* ─── Modern Navbar (koyu tema) ──────────────────────────── */
.navbar-modern {
  background: #1a1a1a !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-modern .navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
  letter-spacing: -.5px;
}
.navbar-modern .navbar-toggler {
  border-color: rgba(255,255,255,.2);
}
.navbar-modern .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-modern .nav-link {
  position: relative;
  color: rgba(255,255,255,.75) !important;
  font-size: .875rem;
  font-weight: 500;
  padding-bottom: 6px !important;
  transition: color .15s;
}
.navbar-modern .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: left .2s ease, right .2s ease;
}
.navbar-modern .nav-link:hover,
.navbar-modern .nav-link:focus {
  color: #fff !important;
}
.navbar-modern .nav-link:not(.dropdown-toggle):hover::after,
.navbar-modern .nav-link:not(.dropdown-toggle).active::after {
  left: 0;
  right: 0;
}
.navbar-modern .dropdown-menu {
  border: none;
  background: #2a2a2a;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  border-radius: 10px;
  padding: 6px;
  margin-top: 6px;
}
.navbar-modern .dropdown-item {
  border-radius: 6px;
  font-size: .875rem;
  padding: 7px 14px;
  color: rgba(255,255,255,.8);
  transition: background .12s;
}
.navbar-modern .dropdown-item:hover { background: #3a3a3a; color: #fff; }
.navbar-modern .dropdown-item.text-danger { color: #ff6b6b !important; }
.navbar-modern .dropdown-divider { border-color: rgba(255,255,255,.1); }
.navbar-modern .navbar-search input {
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.navbar-modern .navbar-search input::placeholder { color: rgba(255,255,255,.4); }
.navbar-modern .navbar-search input:focus {
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
  background: rgba(255,255,255,.15);
  color: #fff;
}
.navbar-modern .nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px !important;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: .85rem !important;
  transition: border-color .15s, background .15s;
}
.navbar-modern .nav-cart-btn::after { display: none !important; }
.navbar-modern .nav-cart-btn:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

/* Mobil arama paneli — her zaman gizli (kullanılmıyor) */
.navbar-modern-mobile-search { display: none !important; }
.mobile-search-toggle { display: none !important; }

/* Mobile body bottom padding for fixed nav */
@media (max-width: 575px) {
  .mobile-body-pad { padding-bottom: 70px; }
}

/* ─── Modern Mobile Bottom Nav ───────────────────────────── */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 -2px 12px rgba(0,0,0,.07);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 1030;
  display: flex;
}
.mobile-bottom-nav .tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: #aaa;
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 500;
  gap: 3px;
  transition: color .15s;
  position: relative;
}
.mobile-bottom-nav .tab-item i {
  font-size: 19px;
  line-height: 1;
}
.mobile-bottom-nav .tab-item.active {
  color: #111;
}
.mobile-bottom-nav .tab-item.active i {
  transform: translateY(-1px);
}
.mobile-bottom-nav .tab-badge {
  position: absolute;
  top: 8px;
  left: calc(50% + 6px);
}


