.app-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    /*padding: 1rem 2rem;*/
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-spacer {
    flex: 1;
}

.header-search-container {
    flex: 1;
    max-width: 32rem;
}

.header-search {
    position: relative;
    width: 100%;
}

.header-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.header-search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.header-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.header-search-input::placeholder {
    color: #9ca3af;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.header-action-button {
    position: relative;
    padding: 0.5rem;
    color: #4b5563;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header-action-button:hover {
    background-color: #f3f4f6;
}

.header-action-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.header-notification-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ef4444;
    border-radius: 50%;
}

.header-user-menu {
    position: relative;
}

.header-user-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header-user-button:hover {
    background-color: #f3f4f6;
}

.header-user-avatar {
    width: 2rem;
    height: 2rem;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.header-user-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-width: 12rem;
    z-index: 50;
}

.header-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #374151;
    font-size: 0.875rem;
}

.header-dropdown-item:hover {
    background-color: #f3f4f6;
}

.header-dropdown-item:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.header-dropdown-item:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.header-dropdown-item svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    .app-header {
        padding: 1rem;
    }

    .header-search-container {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }
}
