.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.search {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: none;
  outline: none;
  width: 200px;
}

.nav-icons>.icon {
  font-size: 1.2rem;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    background-color: #003366;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem;
  }

  .navbar {
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    gap: 1rem;
  }

  .search {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Profile Dropdown Styles */
.profile-dropdown-container {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background-color 0.2s ease;
  outline: none;
}

.profile-trigger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.profile-trigger:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

.user-name {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  user-select: none;
}

.profile-icon {
  font-size: 1.5rem;
  line-height: 1;
  user-select: none;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 1000;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-dropdown[hidden] {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.profile-dropdown a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.profile-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}

.profile-dropdown a:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.profile-dropdown a:hover,
.profile-dropdown a:focus {
  background-color: #f5f5f5;
  outline: none;
}

.logout-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  color: #dc3545;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-radius: 0 0 8px 8px;
}

.logout-btn:hover,
.logout-btn:focus {
  background-color: #fff5f5;
  outline: none;
}

.profile-icon-link {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.profile-icon-link .login-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  user-select: none;
}

.profile-icon-link .profile-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.profile-icon-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.profile-icon-link:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

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

  .profile-icon {
    font-size: 1.3rem;
  }
}
/* Development Notice Banner */
.dev-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-bottom: 2px solid #f39c12;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.dev-notice-content {
    max-width: 1400px;
    margin: 0 auto;
    color: #856404;
    font-size: 0.95rem;
    font-weight: 500;
}

.dev-notice-content strong {
    font-weight: 700;
}

/* Mobile adjustments for dev notice */
@media (max-width: 768px) {
    .dev-notice {
        padding: 0.625rem 0.75rem;
    }
    
    .dev-notice-content {
        font-size: 0.85rem;
    }
}

/* Instagram link in dev notice */
.dev-notice-divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.dev-instagram-link {
    color: #856404;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #856404;
    transition: all 0.2s ease;
}

.dev-instagram-link:hover {
    color: #e1306c;
    border-bottom-color: #e1306c;
}

@media (max-width: 768px) {
    .dev-notice-content {
        font-size: 0.8rem;
    }
    
    .dev-notice-divider {
        display: block;
        margin: 0.25rem 0;
        opacity: 0;
    }
}
