/* 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. */

html {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  overflow: hidden !important;
  padding: 0;
  width: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: var(--color-sys-base-container);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden !important;
  padding: 0;
  user-select: none;
  width: 100%;
}

#container {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  width: 100%;
}

#header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: auto;
  max-width: 1365px;
  padding-left: 38px;
  padding-right: 38px;
  padding-top: 100px;
  width: 100%;
}

#icon {
  height: 74px;
  width: 74px;
}

h1 {
  color: var(--color-sys-on-surface);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 84px;
  letter-spacing: -3.5px;
  margin: 0;
  text-align: center;
}

#content {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 71px;
  justify-content: center;
  margin-bottom: auto;
  max-width: 1280px;
  padding: 80px;
  width: 100%;
}

#illustration-container {
  align-items: center;
  background-color: transparent;
  border-radius: 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 359px;
  justify-content: center;
  position: relative;
  width: 600px;
}

#docking-placeholder {
  display: none;
}

#illustration-container.error {
  background-color: var(--color-sys-surface, #fff);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

#illustration-container.error #docking-placeholder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

#resized-text {
  color: var(--color-sys-on-surface, #1f1f1f);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

#didnt-work-container {
  align-items: center;
  display: flex;
  gap: 6px;
}

#didnt-work-text {
  color: var(--color-sys-on-surface-subtle, #5f6368);
  font-size: 14px;
  line-height: 20px;
}

#open-settings-link {
  color: var(--color-sys-primary, #1a73e8);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
}

#open-settings-link:hover {
  color: var(--color-sys-primary-hover, #174ea6);
}

#instruction-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  position: relative;
}

#arrow-anchor {
  align-items: center;
  display: flex;
  left: -85px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#content-title {
  color: var(--color-sys-on-surface);
  font-size: 21px;
  font-style: normal;
  line-height: 32px;
  margin: 0 0 12px 0;
}

#content-description {
  color: var(--color-sys-on-surface-subtle);
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 24px;
}

.instructions {
  color: var(--color-sys-on-surface);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 12px;
}

strong {
  font-weight: 600;
}

@media (max-width: 1150px) {
  #content {
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  #header {
    padding-top: 40px;
  }

  #instruction-container {
    align-items: center;
    max-width: 672px;
    order: -1;
    text-align: center;
    width: 100%;
  }

  .instructions {
    display: inline-block;
    text-align: left;
  }
}
