/* Copyright 2026 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
 * #import=//resources/cr_elements/cr_shared_style_lit.css.js
 * #import=../settings_shared_lit.css.js
 * #include=cr-shared-style-lit settings-shared-lit
 * #css_wrapper_metadata_end */

.cr-row-no-top-gap {
  margin-bottom: var(--cr-section-vertical-margin);
  min-height: auto;
}

.preview-box {
  all: initial;
  align-items: center;
  background-image:
    url(chrome://theme/IDR_ACCESSIBILITY_CAPTIONS_PREVIEW_BACKGROUND);
  background-position: center;
  background-size: cover;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  margin: var(--cr-section-padding);
  margin-inline-start: var(--cr-section-indent-padding);
  min-height: 112px;
  padding: 20px;
  text-align: center;
}
