.aiMenu {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  min-height: 2.25rem;
}

.aiInput {
  width: 100%;

  & input {
    height: 44px;
    border-radius: 22px;
    padding-left: 20px;
    padding-right: 40px;
    border: 1px solid
      light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: var(--mantine-font-size-sm);

    &:focus {
      border-color: light-dark(
        var(--mantine-color-gray-4),
        var(--mantine-color-dark-3)
      );
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
  }
}
.menuItemSelected {
  background-color: var(--mantine-color-gray-1);

  @mixin dark {
    background-color: var(--mantine-color-dark-5);
  }
}

.resultPreview {
  background-color: light-dark(
    var(--mantine-color-white),
    var(--mantine-color-dark-6)
  );
  border: 1px solid
    light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.resultPreviewWrapper {
  font-size: var(--mantine-font-size-md);
  line-height: 1.6;
  padding: var(--mantine-spacing-md);

  *:first-child {
    margin-top: 0;
  }
  *:last-child {
    margin-bottom: 0;
  }
}
