
.sidebar {
  position: fixed;
  top: 55px;
  left: 0;
  bottom: 0;
  width: 72px;
  background-color: #fff;
  z-index: 200;
  padding-top: 15px;
}

.sidebar-link {
  height: 74px;
  margin-bottom: 2px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-link:hover {
  background-color: #ebebeb;
}

.sidebar-link img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.sidebar-link div {
  font-size: 10px;
}


.sidebar-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


.expanded-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background-color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.expanded-sidebar.active {
  transform: translateX(0);
}

/* Header */
.expanded-sidebar-header {
  height: 55px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.expanded-sidebar-header .hamburger-menu {
  margin-right: 24px;
}

.expanded-sidebar-header .youtube-logo {
  height: 20px;
}

.expanded-country-code {
  position: relative;
  top: -8px;
  left: 4px;
  font-size: 10px;
  color: #747474;
}


.expanded-sidebar-content {
  flex: 1;
  overflow-y: auto;
}

.expanded-sidebar-content::-webkit-scrollbar {
  width: 8px;
}

.expanded-sidebar-content::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 4px;
}

.expanded-sidebar-content:hover::-webkit-scrollbar-thumb {
  background-color: #aaa;
}


.sidebar-section {
  padding: 12px 0;
}

.sidebar-title {
  margin: 0;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 500;
}


.sidebar-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 12px 0;
}


.expanded-link {
  display: flex;
  align-items: center;
  margin: 0 12px;
  padding: 8px 24px;
  border-radius: 10px;
  text-decoration: none;
  color: #0f0f0f;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.expanded-link:hover {
  background-color: #f2f2f2;
}

.expanded-link i {
  width: 24px;
  margin-right: 24px;
  font-size: 18px;
  text-align: center;
}

.sub-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 24px;
}


.bottom-toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}

.switch {
  position: relative;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.slider::before {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  background-color: #fff;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider::before {
  transform: translateX(14px);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}