/* Navigation Component Styles */
.navigation {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #2d9057;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 180px;
  height: 80px;
}

.logo-icon {
  font-size: 1.9rem;
  display: none;
}

.nav-logo h1 {
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: none;
}

.nav-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
}

.tab-icon {
  font-size: 1.2rem;
}

.nav-tab:hover {
  color: #2d9057;
  border-color: rgba(45, 144, 87, 0.18);
  background: rgba(45, 144, 87, 0.1);
}

.nav-tab.active {
  color: #2d9057;
  background: rgba(45, 144, 87, 0.12);
  border-bottom: 2px solid #2d9057;
  border-color: #2d9057;
}

.nav-user {
  display: flex;
  align-items: center;
}

.user-profile {
  position: relative;
}

.user-btn {
  background: #2d9057;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
}

.user-avatar {
  font-size: 1rem;
  font-weight: 700;
}

.user-btn:hover {
  background: linear-gradient(135deg, #2d9057 0%, #52b788 100%);
  box-shadow: 0 10px 24px rgba(45, 144, 87, 0.2);
  transform: translateY(-1px);
}

/* User Menu Dropdown */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 24px 56px rgba(26, 26, 26, 0.12);
  min-width: 260px;
  z-index: 1000;
  animation: slideInDown 0.2s ease-out;
}

.user-menu-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid #e8dfd3;
}

.user-name {
  margin: 0 0 4px 0;
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.user-email {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.user-menu-divider {
  height: 1px;
  background-color: #e8dfd3;
}

.user-menu-item {
  display: block;
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.user-menu-item:hover {
  background-color: rgba(45, 144, 87, 0.08);
}

.logout-btn {
  color: #c74c3e;
  font-weight: 700;
}

.logout-btn:hover {
  background-color: rgba(199, 76, 62, 0.1);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsivo */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
    padding: var(--spacing-lg) var(--spacing-lg);
  }

  .nav-logo h1 {
    font-size: 1.25rem;
  }

  .nav-tabs {
    width: 100%;
    justify-content: center;
  }

  .nav-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    gap: 0.5rem;
  }

  .logo-icon {
    font-size: 1.35rem;
  }

  .nav-logo h1 {
    font-size: 1rem;
  }
}
