#brand{
  font-weight: 600;
  font-size: 1.5rem;
            text-decoration: none;
            color: var(--pico-color);
            letter-spacing: -0.5px;
}

#logo{
  width: 30px;
  height: auto;
}
nav {
  padding-left: 1rem;
  padding-right: 1rem;
  border-bottom: 1px solid var(--pico-form-element-border-color);
}

#account-button {
  padding: 0.6rem 0.9rem;
  line-height: 1;
  font-size: 1.2rem;
}
nav ul li a{
  text-decoration: none;
}

#theme-toggle {
  display: flex; /* Use flex to center the content */
  align-items: center;
  justify-content: center;
  
  width: 2rem;   /* Increased from 1rem to ~32px */
  height: 2rem;  /* Increased from 1rem to ~32px */
  
  background-color: transparent;
  border: none; /* Optional: removes default border */
  cursor: pointer;
  color: inherit; /* Ensures currentColor works for the SVG fill */
}

/* 2. Ensure the wrapper fits the button */
.theme-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3. Size the SVGs to fit inside the wrapper */
.sun-icon, 
.moon-icon {
  width: 100%;   /* Fill the wrapper */
  height: 100%;
}

/* 4. Handle the stacking (Optional but recommended) */
/* Since you have two icons, they usually need to overlap or be toggled via JS. */
/* Assuming you want them stacked on top of each other: */
.sun-icon, .moon-icon {
  position: absolute;
  top: 0;
  left: 0;
}

/* Hide one by default (Example) */
.moon-icon {
  display: none; 
}

/* If your JS adds a class like .dark-mode to the button, you can swap them: */
#theme-toggle.dark .sun-icon { display: none; }
#theme-toggle.dark .moon-icon { display: block; }

/* Hide the text on desktop if you only want the icon */
.theme-text-mobile {
  display: none;
}

#model-footer{
  display: flex;
  gap: 1rem;
}


#logout-footer{
  margin-right: auto;
}
#close-footer{
  margin-left: auto;
}

@media (max-width: 768px) {
  #close-footer {
    display: none !important;
  }
}
