/* main.css */
/* Base Navigation Styles */
nav {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    transition: all 0.3s;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


.font-serif {
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

/* Navigation Links */
.nav-link {
    color: #1f2937;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.nav-link:hover {
    color: #3b82f6;
}

@media (min-width: 1024px) {
    .nav-link {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

/* Dropdown Styles */
.auth-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    padding: 0.5rem 0;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #374151;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f0f9ff;
    color: #3b82f6;
}

/* Button Styles */
.btn-primary {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Mobile menu styles */
#mobile-menu {
  top: 100%; /* Position below the navbar */
  z-index: 40; /* Ensure it's above other content */
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Hamburger icon animation */
.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: currentColor;
  margin: 4px 0;
  transition: all 0.3s ease;
}

#hamburger.hamburger-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#hamburger.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#hamburger.hamburger-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* Avatar Styles */
.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #3b82f6, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar i {
    font-size: 0.875rem;
}

/* Chevron Transition */
.chevron {
    transition: transform 0.2s;
}

.chevron-open {
    transform: rotate(180deg);
}

/* Divider */
.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.25rem 0;
}
