/* Kenar çubuğu stilleri */
body {
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#sidebar-wrapper {
  min-height: 100vh;
  width: 250px;
  margin-left: -250px;
  transition: margin 0.25s ease-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  position: fixed;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.875rem 1.25rem;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-group {
  width: 100%;
}

.list-group-item {
  border: none;
  padding: 0.5rem 1rem;
  background-color: transparent !important;
}

.list-group-item-action {
  color: #efefef;
  font-weight: 500;
}

.list-group-item-action:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.list-group-item-action.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-left: 3px solid #fff;
}

.sidebar-logo {
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  text-align: center;
}

#page-content-wrapper {
  min-width: 100vw;
  transition: margin-left 0.25s ease-out;
}

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

.dropdown-menu {
  background-color: #343a40;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-item {
  color: #efefef;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-toggler {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-icon {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-section {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-name {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.profile-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

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

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
    margin-left: 250px;
  }

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

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

  .navbar-toggler {
    display: none;
  }

  .mobile-toggler {
    display: none;
  }

  .desktop-toggler {
    display: block;
  }
}

@media (max-width: 767.98px) {
  #sidebar-wrapper {
    margin-left: -250px;
  }

  #page-content-wrapper {
    margin-left: 0;
  }

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

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

  .desktop-toggler {
    display: none;
  }

  .mobile-toggler {
    display: block;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  #wrapper.toggled .sidebar-overlay {
    display: block;
  }
}
