/* =========================
   APP HEADER
   ========================= */

.app-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.app-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-header-left {
    display: flex;
    align-items: center;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.app-logo-img {
    height: 32px;
    width: auto;
}

.app-brand-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.app-header-nav {
    display: flex;
    gap: 1.25rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--foreground);
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-link {
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}

.header-theme-toggle {
    position: static;
    width: 2.25rem;
    height: 2.25rem;
}
/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    min-width: 160px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: var(--muted);
}


@media (max-width: 768px) {
    .app-header-nav {
        display: none;
    }
}
