* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  padding: 0.25rem;
}

.header-bar {
  margin-bottom: 0.55rem;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 350;
  margin-left: 1.5rem;
}

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

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  max-width: 80%;
  background-color: white;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-open .sidebar-overlay {
  display: block;
}

.sidebar-header {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
}

.sidebar-content {
  padding: 1rem 0.75rem;
  overflow-y: auto;
  flex: 1;
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0 0.75rem;
  margin-bottom: 1rem;
}

.menu-item {
  padding: 0.5rem 0.75rem;
  color: #4b5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
}

.menu-item:hover {
  background-color: #f3f4f6;
}

.menu-item-icon {
  width: 1rem;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
}
