.header {
  background-color: #2C3087;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.headerContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}

.brand:hover {
  color: #DE751C;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.brandText {
  letter-spacing: 0.05em;
}

.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.navLink {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.navLink:hover {
  color: #DE751C;
  background-color: rgba(222, 117, 28, 0.1);
}

.navLink.active {
  color: #DE751C;
  background-color: rgba(222, 117, 28, 0.1);
}

.resetPasswordLink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.resetPasswordLink:hover {
  color: #DE751C;
  background-color: rgba(222, 117, 28, 0.1);
}

.logoutButton {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #DE751C;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.logoutButton:hover:not(:disabled) {
  background-color: #c66a19;
}

.logoutButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.logoutButtonLoading {
  color: transparent;
}

.logoutButtonLoading::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hamburgerButton {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: white;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburgerButton:hover {
  background-color: rgba(222, 117, 28, 0.1);
  color: #DE751C;
}

.hamburgerButton .hamburgerIcon {
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburgerButton .hamburgerIcon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburgerButton .hamburgerIcon span:nth-child(1) {
  top: 0;
}

.hamburgerButton .hamburgerIcon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburgerButton .hamburgerIcon span:nth-child(3) {
  bottom: 0;
}

.hamburgerButton[aria-expanded="true"] .hamburgerIcon span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburgerButton[aria-expanded="true"] .hamburgerIcon span:nth-child(2) {
  opacity: 0;
}

.hamburgerButton[aria-expanded="true"] .hamburgerIcon span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (min-width: 768px) {
  .hamburgerButton {
    display: none;
  }
}

.mobileMenu {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2C3087;
  border-top: 1px solid rgba(222, 117, 28, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  z-index: 40;
}

.mobileMenuOpen {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobileMenuClosed {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
}

.mobileMenuContent {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: calc(100vh - 4rem);
  position: relative;
  padding-bottom: 5rem;
}

.mobileNavLink {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mobileNavLink:hover {
  background-color: rgba(222, 117, 28, 0.1);
  color: #DE751C;
}

.mobileNavLink.active {
  background-color: rgba(222, 117, 28, 0.1);
  color: #DE751C;
}

.mobileLogoutButton {
  composes: mobileNavLink;
  color: white;
  background-color: #DE751C;
  cursor: pointer;
  border: none;
  width: 100%;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 1rem;
  border-radius: 0;
  z-index: 41;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.mobileLogoutButton:hover:not(:disabled) {
  background-color: #c66a19;
}

.mobileLogoutButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
} 