/* Kilo Dialog overrides – harmonized with @vscode/webview-ui-toolkit */

[data-component="dialog-overlay"] {
  background-color: rgba(0, 0, 0, 0.5);
}

[data-component="dialog"] {
  [data-slot="dialog-content"] {
    border-radius: 2px;
    max-width: 512px;
    background-color: var(--background-base);
    border: 1px solid var(--border-weak-base);
  }

  [data-slot="dialog-header"] {
    font-size: var(--kilo-font-size-14);
  }

  [data-slot="dialog-title"] {
    font-weight: 600;
  }
}

[data-component="dialog"][data-fit] [data-slot="dialog-container"] {
  height: auto;
}

[data-component="dialog"][data-fit] [data-slot="dialog-content"] {
  min-height: 0;
  align-self: center;
}
