// --primary-color
// --div-color
// --text-color
// --border-color
// --shadow-color
// --background-color-seethrough
// --text-color2
// --accent-color
// --secondary-color
// --background-color
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--background-color);
    padding: 0.5rem 1rem;
    color: white;
    height: 60px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    height: 45px;
    cursor: pointer;
    margin-left: 24px;
    border-radius: 10px;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
  }
  
  .nav-link {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
  }
  
  
  .user-section {
    display: flex;
    align-items: center;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    margin-right: 1rem;
  }
  
  .profile-pic {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
  }
  
  .user-details {
    display: flex;
    flex-direction: row;
    background-color: var(--primary-color);
    margin: 5px;
    margin-right: 1rem;
    align-items: center;
    padding: 0px;
    height:30px;
    border-radius: 5px;
    p {
      padding: 5px;
      color: var(--text-color2);
    font-size: .9rem;

    }
  }
  
  .user-name {
    font-weight: bold;
  }
  
  .tier-button {
    background: none;
    border: none;
    color: var(--text-color2);
    cursor: pointer;
    height: fit-content;
    font-size: .9rem;
    transition: color 0.2s ease-in-out;
  }
  
  .tier-button:hover {
    color: var(--accent-color);
  }
  
  .usage-info {
    display: flex;
    align-items: center;
  }
  
  
  .divider {
    width: 2px;
    height: 60%;
    background-color: var(--background-color);

    border-radius : 5px;
  }

.dropdown {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px;
  position: relative;
  border-radius: 5px;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: var(--primary-color);
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 10px;
  background-color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 50;
  border: 1px solid #2e2c1a;
  border-top-right-radius: -20px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

  &.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #2e2c1a;
}

.dropdown-profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.dropdown-user-info {
  h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);

  }

  p {
    font-size: 14px;
    color: var(--text-color2);
    margin: 4px 0 0;
  }
}

.dropdown-list {
  list-style-type: none;
  padding: 8px 0;
  margin: 0;

  li {
    a {
      display: block;
      padding: 10px 16px;
      color: var(--text-color2);
      text-decoration: none;
      transition: background-color 0.4s ease;

      &:hover {
        background-color: var(--nav-hover-color);
      }
    }
  }
}

.dropdown-list {
  // ... existing styles ...

  li {
    position: relative;

    a {
      // ... existing styles ...
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
}

.theme-submenu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  background-color: var(--submenu-background-color);
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;

  &.active {
    max-height: 200px;
    transition: max-height 0.5s ease-in;
  }

  li {
    a {
      padding: 8px 16px 8px 32px;
      font-size: 14px;
    }
  }
}

svg {
  transition: transform 0.3s ease;

  &.flipped {
    transform: rotate(180deg);
  }
}

@media (max-width: 350px) {
  .user-details {
    display: none;
  }
}