/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 32px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.brand-link:hover {
    color: var(--accent-color);
}

.brand-text {
    color: inherit;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-color);
    background-color: #f8f9fa;
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
}

#clerk-auth-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

#user-button {
    display: flex;
    align-items: center;
}

.user-name {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    margin-right: 8px;
}

.logout-btn {
    cursor: pointer;
    font-family: inherit;
}

.header-btn {
    padding: 8px 16px;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.header-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        height: 56px;
        gap: 16px;
    }
    
    .header-nav {
        gap: 2px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .header-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

