/* === Top Navigation Bar === */
.nav-container {
  background: #333;
}

.top-nav {
  background: #f8f9fa;
  padding: 8px 20px;
  text-align: right;
  border-bottom: 1px solid #ddd;
}

.main-nav {
  background: #333;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  gap: 30px;
}

.nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
  background: #007B5E;
}

.auth-links {
  display: flex;
  gap: 10px;
}

.auth-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

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

.user-info {
  color: white;
  font-size: 14px;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .nav-left, .nav-right {
    justify-content: center;
  }
  
  .top-nav {
    text-align: center;
  }
}

/* ====================================
   NAVIGATION ENHANCEMENTS
   ==================================== */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 15px 20px;
}

.main-nav a.active {
  background: #007B5E;
  padding: 8px 15px;
  border-radius: 5px;
}

.user-info {
  color: #ccc;
  margin-left: auto;
  margin-right: 15px;
  font-weight: 500;
}