MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

@keyframes springUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#multi-stage-message-root {
  --bg-white: light-dark(#fff, #fff);
  --bg-transparent: transparent;
  --tile-border-color: #f1e7f8;
  --shadow-color: rgb(59 34 121);

  .main-content,
  .section-main,
  .dialog-initial,
  .onboardingContainer {
    box-shadow: none;
  }

  .onboardingContainer .screen[pos="center"] {
    background-color: var(--bg-transparent);
  }

  #mainContentHeader {
    /* stylelint-disable-next-line -- using linear gradient for text effect */
    background: linear-gradient(91deg, #7630c0 22.04%, #5c66ee 78.7%);
    background-clip: text;
    /* stylelint-disable-next-line -- transparent needed for gradient text effect */
    color: var(--bg-transparent);
  }

  .screen.AI_WINDOW_INTRO {
    #mainContentHeader {
      opacity: 0;
      animation: springUp 0.3s ease-in forwards;
      animation-delay: 0.3s;
    }
  }

  .screen.AI_WINDOW_CHOOSE_MODEL {
    h2,
    p {
      letter-spacing: 0.3px;
      line-height: normal;
    }

    .welcome-text h2 {
      opacity: 0.8;
      margin-top: var(--space-medium);
    }

    button.primary {
      width: calc(var(--size-item-large) * 7);
      height: var(--size-item-xlarge);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: var(--space-small);
      padding: var(--space-xsmall) var(--space-large);
      margin: 0 auto;
      border: var(--border-width) solid var(--border-color-transparent);
      border-radius: var(--border-radius-medium);
      /* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens -- gradient defined in ai-window-content.css */
      background: var(--gradient-button);
      color: var(--button-text-color-primary);
      text-align: center;
      font-size: var(--button-font-size);
      font-weight: var(--button-font-weight);
      letter-spacing: -0.3px;
      cursor: pointer;
    }

    &:not(:has(.icon.selected)) button.primary {
      opacity: 0.5;
      pointer-events: none;
      cursor: default;
    }
  }

  .tiles-single-select-section.single-select {
    gap: var(--space-large);
    margin-top: calc(var(--space-xsmall) * 8);
    margin-bottom: var(--space-xxlarge);

    .select-item {
      width: calc(var(--size-item-large) * 7);
      height: calc(var(--size-item-medium) * 11);
      padding-block: calc(var(--space-xsmall) * 9) 0;
      /* stylelint-disable-next-line -- custom border color per Figma design */
      border: var(--border-width) solid var(--tile-border-color);
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
      gap: 0;
      padding-inline: var(--space-medium);
      box-sizing: border-box;
      border-radius: var(--border-radius-large);
      /* stylelint-disable-next-line -- using white for consistent background */
      background: color-mix(in srgb, var(--bg-white) 60%, var(--bg-transparent));

      .label-text {
        margin-top: calc(var(--space-xsmall) * 5);
        margin-bottom: 0;
        letter-spacing: 0.5px;
        opacity: 0.8;
        line-height: normal;
      }

      .body-text {
        opacity: 0.8;
        line-height: normal;
      }

      .icon {
        width: calc(var(--size-item-xlarge) * 2);
        height: calc(var(--size-item-xlarge) * 2);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
      }

      &:hover:not(:has(.selected)) {
        /* stylelint-disable-next-line -- using white for hover state */
        background: var(--bg-white);
        cursor: pointer;
      }

      &:has(.selected) {
        border: calc(var(--border-width) * 2) solid var(--border-color-transparent);
        /* stylelint-disable-next-line stylelint-plugin-mozilla/use-design-tokens -- gradient defined in ai-window-content.css */
        background:
          linear-gradient(#fff, #fff) padding-box,
          var(--gradient-selected-border) border-box;
        /* stylelint-disable-next-line -- custom shadow color per Figma design */
        box-shadow:
          0 3px 16px 0 color-mix(in srgb, var(--shadow-color) 12%, var(--bg-transparent)),
          0 1px 2px 0 color-mix(in srgb, var(--shadow-color) 20%, var(--bg-transparent));
      }
    }
  }
}
PK