* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  background: #f4f4f4;
  min-height: 100vh;
}

.sidebar {
  width: 350px;
  height: 100vh;
  background: white;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Profil kısmı için konumlama */
.profile-wrapper {
  position: relative;
  display: inline-block;
}

.logo-section img {
  height: 40px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00c853;
  cursor: pointer;
}

/* Dropdown menünün konumunu profil resmine göre sağa kaydır */
.dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%; /* profil resminin sağına hizala */
  margin-left: 10px; /* profil resmiyle arasında boşluk */
  z-index: 999;
  display: none;
  min-width: 150px;
  padding: 0.5rem 0;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
  transform: translateX(-125px);
}

.profile-wrapper.show .dropdown-menu {
  display: block;
}

.progress-label {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
}

.progress-bar {
  background-color: #e0f0ff;
  border-radius: 20px;
  height: 20px;
  margin-top: 5px;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 37%;
  background-color: #2b85ff;
  border-radius: 20px;
}

.progress-text {
  font-size: 13px;
  color: #2b85ff;
  margin-top: 5px;
}

.menu-title {
  margin: 25px 0 10px;
  font-weight: 600;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
}

.menu-item {
  width: 90px;
  height: 90px;
  background: #f8f8f8;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.menu-item:hover {
  background: #e0f0ff;
}

.menu-item span {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-top: 5px;
}

.bottom-icons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 30px;
  width: auto;
  padding: 0 0 2rem 0;
  background: transparent;
  z-index: 100;
}

.bottom-icons a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.bottom-icons a span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
  z-index: 10;
}

.bottom-icons a:hover span {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle-btn {
  display: none;
}

@media (max-width: 1100px) {
  .menu-toggle-btn {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background-color: #dcac56;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    background-color: white;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .sidebar.show {
    left: 0;
  }
}