#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}

.sidebar {
  width: 100%;
  max-width: 90vw; /* Mobilde genişliği %90 yap */
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  user-select: none;

  /* Yeni: sağdan biraz boşluk */
  

  /* Yeni: hafif flex kutusu, dikey ortalamak için */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .sidebar {
    width: 90vw;
    max-width: none;
    padding: 16px 12px;
    margin: 15px auto; /* Ortala */
    border-radius: 12px;
  }
}

/* Kullanıcı bilgisi */
.user-info {
  background: linear-gradient(135deg, #ffce00, #ffa700);
  color: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Başlık büyüklüğünü biraz büyüt */
.user-info h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.user-info .membership {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
  font-weight: 700;
}

/* Menü */
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin-bottom: 20px;
}

.menu a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  padding: 14px 20px;
  border-radius: 14px;
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.07);
}

.menu a i {
  margin-right: 14px;
  font-size: 20px;
  width: 26px;
  text-align: center;
  color: #ffa700;
  transition: color 0.35s ease;
}

.menu a:hover,
.menu a:focus {
  background-color: #fff3cc;
  color: #000;
  box-shadow: 0 10px 20px rgba(255, 170, 0, 0.45);
}

.menu a:hover i,
.menu a:focus i {
  color: #cc8e00;
}

/* Giriş uyarısı */
.login-prompt {
  background: #ffe9e9;
  border: 1.5px solid #ffbdbd;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  color: #a00;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}

.login-prompt a {
  font-weight: 700;
  color: #d40000;
  text-decoration: none;
  margin: 0 6px;
  transition: text-decoration 0.3s ease;
}

.login-prompt a:hover,
.login-prompt a:focus {
  text-decoration: underline;
}



.menu__btn {
  position: fixed;
  top: 40px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 999999;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #fff;

  transition-duration: .25s;
  z-index: 99999;
}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #ffd700;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
  z-index: 9999;
}
.menu__item:hover {
  background-color: #CFD8DC;
}