/* NAVBAR STYLING */
.navbar {
  background-color: #343a40;
  color: white;
  padding: 12px 20px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  font-size: 1.2em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #f8f9fa;
  text-decoration: none;
  font-size: 0.95em;
}

.nav-links a:hover {
  color: #adb5bd;
}

.nav-auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 0.9em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.btn-light {
  background-color: #f8f9fa;
  color: #343a40;
}

.btn-light:hover {
  background-color: #dee2e6;
}

.btn-outline {
  border: 1px solid #f8f9fa;
  color: #f8f9fa;
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

.btn-logout {
  background-color: #dc3545;
  color: white;
}

.btn-logout:hover {
  background-color: #c82333;
}

.username {
  color: #adb5bd;
  font-size: 0.9em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-left,
  .nav-auth {
    justify-content: space-between;
    width: 100%;
    padding: 6px 0;
  }
  .nav-links {
    flex-wrap: wrap;
  }
}
