.home-layout {
  display: block;
}
.home-sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  height: calc(100vh - 56px);
  width: 280px;
  background: rgba(210, 230, 255, 0.18);
  border-right: 1px solid rgba(120, 180, 255, 0.35);
  border-radius: 0 1rem 1rem 0;
  box-shadow: 0 8px 24px rgba(60, 120, 220, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  z-index: 900;
  transition: width 0.3s ease, padding 0.3s ease;
}
.home-sidebar.collapsed {
  width: 72px;
  padding: 0.75rem;
}
.sidebar-toggle {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  background: rgba(210, 230, 255, 0.22);
  border: 1px solid rgba(120, 180, 255, 0.4);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(60, 120, 220, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a3d7a;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sidebar-toggle:hover {
  background: rgba(210, 230, 255, 0.32);
  border-color: rgba(120, 180, 255, 0.6);
}
.sidebar-toggle:focus {
  outline: none;
  background: rgba(210, 230, 255, 0.28);
  border-color: rgba(120, 180, 255, 0.8);
  box-shadow: 0 4px 12px rgba(60, 120, 220, 0.15), 0 0 0 0.2rem rgba(120, 180, 255, 0.25);
}
.sidebar-toggle:active {
  background: rgba(210, 230, 255, 0.25);
  border-color: rgba(120, 180, 255, 0.5);
  transform: scale(0.98);
}
.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.home-sidebar.collapsed .toggle-icon {
  transform: rotate(180deg);
}
.home-content {
  margin-left: 280px;
  min-width: 0;
  transition: margin-left 0.3s ease;
  padding: 1rem;
}
.home-sidebar.collapsed + .home-content {
  margin-left: 72px;
}
@media (max-width: 768px) {
  .home-sidebar {
    position: static;
    height: auto;
    width: 100%;
  }
  .home-sidebar.collapsed {
    width: 100%;
  }
  .home-content {
    margin-left: 0;
  }
  .home-sidebar.collapsed + .home-content {
    margin-left: 0;
  }
}