/* header.css — Universal header styles extracted from header.html */

.universal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(var(--accent-rgb), 0.03);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-theme="dark"] .universal-header {
    background: rgba(10, 10, 10, 0.8);
}

html[data-theme="light"] .universal-header {
    background: rgba(255, 255, 255, 0.9);
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.breadcrumb-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-separator {
    opacity: 0.4;
}

.breadcrumb-current {
    opacity: 0.7;
}

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

.user-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 20px;
}

.user-avatar-initials {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 500;
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: rgba(var(--accent-rgb), 0.1);
    color: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.header-btn:hover {
    background: rgba(var(--accent-rgb), 0.2);
}

.header-btn svg {
    width: 16px;
    height: 16px;
}

.logout-btn {
    color: #ef4444;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

.theme-icon {
    width: 16px;
    height: 16px;
}

.header-action-btn {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.header-action-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}
