/* Navigation Styles */
.navbar {
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
}

.brand-logo {
    width: 2rem;
    height: 2rem;
    background-color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    transition: background-color 0.2s;
}

.nav-brand:hover .brand-logo {
    background-color: #1d4ed8;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.nav-brand:hover .brand-text {
    color: #2563eb;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.dropdown-toggle:hover {
    color: #2563eb;
    background-color: #f8fafc;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    color: #4b5563;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f0f9ff;
    color: #2563eb;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.5rem;
    height: 2px;
    background-color: #2563eb;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.dropdown-item:hover::after {
    transform: scaleX(1);
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.25rem 0;
}

/* Profile Menu */
.profile-menu {
    position: relative;
}

.profile-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.profile-button:hover {
    background-color: #e5e7eb;
}

.profile-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #4b5563;
}

/* Logout styling */
.dropdown-item.logout {
    color: #dc2626;
}

.dropdown-item.logout:hover {
    background-color: #fef2f2;
}

.dropdown-item.logout::after {
    background-color: #dc2626;
}