/* Estilos para o header quando logado */
.account-masthead {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.account.avatar.authed {
  display: flex;
  align-items: center;
  border: none;
}

.account.avatar.authed ul.list-unstyled {
  display: flex;
  margin: 0;
  padding: 0;
  border: none;
}

.account.avatar.authed ul.list-unstyled li {
  margin-left: 20px;
  list-style: none;
  border: none;
  padding: 0;
}

.account.avatar.authed ul.list-unstyled li a {
  color: #333;
  text-decoration: none;
  padding: 5px 0;
  display: inline-block;
  font-size: 16px;
  border: none;
  transition: color 0.1s ease;
  cursor: pointer;
}

.account.avatar.authed ul.list-unstyled li a:hover,
.account.avatar.authed ul.list-unstyled li a:hover i {
  color: #ff6600 !important;
}

.account.avatar.authed ul.list-unstyled li a i {
  margin-right: 5px;
  font-size: 18px;
  color: inherit;
  transition: color 0.1s ease;
}

/* Estilo para o botão de logout */
.logout-button a {
  color: #dc3545;
}

.logout-button a:hover {
  color: #c82333 !important;
}

.logout-button a:hover i {
  color: #c82333 !important;
}

/* Feedback visual para item selecionado */
.account.avatar.authed ul.list-unstyled li a.active {
  color: #ff6600;
  font-weight: bold;
}

/* Ajustes para o seletor de idioma */
.language-selector-left {
  position: relative;
  margin-right: auto;
}

.language-btn-auth {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.language-btn-auth i {
  margin-right: 5px;
}

.language-menu-auth {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 200px;
  padding: 5px 0;
}

.language-menu-auth li {
  list-style: none;
}

.language-menu-auth li a {
  padding: 8px 15px;
  display: block;
  color: #333;
  text-decoration: none;
}

.language-menu-auth li a:hover {
  background-color: #f8f9fa;
}

/* Ajustes para o container do header */
.account-masthead .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
}

/* Remover todas as bordas */
.account-masthead *,
.account-masthead *:before,
.account-masthead *:after {
  border: none !important;
  box-shadow: none !important;
}

/* Menu responsivo lateral */
@media (max-width: 1024px) {
  .brand-section {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  
  .brand-logo {
    order: 1;
  }
  
  .mobile-toggle {
    order: 2;
  }
  
  .nav-section:not(.show) {
    display: none !important;
  }
  
  .nav-section.show {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: -40px;
  }
  
  .main-navigation {
    flex-direction: column;
    padding: 0;
  }
  
  .main-navigation .nav-item {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }
  
  .main-navigation .nav-item:hover {
    background-color: #f8f9fa;
    color: #ff6600;
  }
  
  .nav-search {
    padding: 16px 20px;
    border-top: 1px solid #f5f5f5;
  }
}