/* Navigation */
.navbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.navbar-brand h1 {
  font-size: 18px;
  margin: 0;
  color: #1f2937;
  font-weight: 600;
}

.navbar-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1f2937;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #1f2937;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary:disabled {
  background: #1d4ed8;
}

.btn-primary:disabled:hover {
  background: #1d4ed8;
  transform: none;
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
}

.navbar-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
  gap: 12px;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tablet */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
  }

  .navbar-links.mobile-open {
    display: flex !important;
  }

  .navbar-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .navbar-content {
    flex-wrap: wrap;
  }

  #authNav,
  #userNav {
    width: 100%;
    justify-content: space-between;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .navbar-content {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .navbar-brand h1 {
    font-size: 16px;
  }

  .navbar-links {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  #authNav,
  #userNav {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav-link,
  .btn-sm {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .navbar-brand h1 {
    font-size: 14px;
  }
}
