/* Mosaic layout */
.mosaic-gd-theme.mosaic {
  background-color: var(--mosaic-layout-background-color) !important;
}

/* Mosaic window and tile */
.mosaic-gd-theme .mosaic-window-toolbar {
  background: var(--mosaic-toolbar-background-color) !important;
}

.mosaic-gd-theme .mosaic-window-body {
  background: var(--mosaic-layout-background-color) !important;
}

.mosaic-gd-theme .mosaic-window .mosaic-window-title {
  color: white !important;
  font-weight: 400 !important;
  font-family: var(--gdevelop-font-family);
  font-size: 15px; /* Same as ClosableTabs font size */
}

/* Hovered titlebar background */
.mosaic-gd-theme.mosaic-blueprint-theme .mosaic-window .mosaic-window-toolbar.draggable:hover,
.mosaic-gd-theme.mosaic.mosaic-blueprint-theme .mosaic-preview .mosaic-window-toolbar.draggable:hover {
  background: var(--mosaic-toolbar-background-color) !important;
}

.mosaic-gd-theme .mosaic-split.-column {
  background-color: var(--mosaic-layout-background-color) !important;
}

/* Separator draggable background (horizontal split) */
.mosaic-gd-theme .mosaic-split.-column .mosaic-split-line {
  height: 2px;
  background-color: var(--mosaic-layout-border-color);
  width: 100px;
  margin: auto;
  top: 2px;
  transition: all 0.1s ease-in-out;
}

.mosaic-gd-theme .mosaic-split.-column:hover .mosaic-split-line {
  background-color: var(--mosaic-toolbar-border-color-hover);
  transform: scaleY(2);
  box-shadow: none !important;
  cursor: ns-resize;
}

/* Separator draggable background (vertical split) */
.mosaic-gd-theme .mosaic-split.-row .mosaic-split-line {
  width: 2px;
  background-color: var(--mosaic-layout-border-color);
  height: 100px;
  margin: auto;
  left: 2px;
  transition: all 0.1s ease-in-out;
}

.mosaic-gd-theme .mosaic-split.-row:hover .mosaic-split-line {
  background-color: var(--mosaic-toolbar-border-color-hover);
  transform: scaleX(2);
  box-shadow: none !important;
  cursor: ew-resize;
}
