/* Copyright 2025 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #scheme=relative
 * #css_wrapper_metadata_end */

:host {
  display: block;
  width: 100%;
}

#tabstrip {
  /* Make the window frame draggable.
  * Children elements need to use "app-region: no-drag" to
  * be excluded from the dragging area */
  -webkit-app-region: drag;

  display: flex;
  align-items: end;
  margin-left: 12px;
  margin-top: 7px;
}

:host([drag-in-progress]) #tabstrip {
  overflow: visible;
}

#tabstrip.nodrag {
  -webkit-app-region: no-drag;
}

#newTabButton,
webui-browser-tab {
  -webkit-app-region: no-drag;
}

#newTabButton {
  margin: 3px 10px;
  --cr-icon-button-icon-size: 18px;
  --cr-icon-button-size: 28px;
  --cr-icon-button-margin-end: 8px;
}
