/* NQ Tenpin Booking System - Header Layout */
/* Main header styles are in components/navigation.css */
/* This file contains admin/app header variations */

.app-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--header-height);
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 var(--space-6);
    z-index: var(--z-sticky);
    transition: left var(--transition-base);
}

.sidebar--collapsed + .app-header {
    left: var(--sidebar-collapsed);
}

.app-header__left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.app-header__toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.app-header__toggle:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.app-header__search {
    width: 300px;
}

.app-header__right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-left: auto;
}

.app-header__notifications {
    position: relative;
}

.app-header__notification-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.app-header__notification-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.app-header__notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 var(--space-1);
    background: var(--error);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--font-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-header__user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.app-header__user:hover {
    background: var(--bg-card-hover);
}

.app-header__avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--bg-darkest);
}

.app-header__user-name {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

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