.pisell-saas-register-container {
  width: 360px;
  max-width: 360px;
  min-width: 266px;
  margin: 0 20px;
  overflow-x: hidden;

  // Logo样式
  .pisell-saas-register-logo {
    width: fit-content;
    height: 48px;
    border-radius: 8px;

    &.left {
      margin-right: auto;
      margin-left: 0;
    }

    &.center {
      margin: 0 auto;
    }

    &.right {
      margin-left: auto;
      margin-right: 0;
    }

    img {
      height: 48px;
      object-fit: contain;
    }
  }

  .pisell-saas-register-welcome-message {
    margin-top: 10px;
    color: #101828;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
  }

  .pisell-saas-register-title {
    margin-top: 24px;
    font-size: 30px;
    font-weight: 600;
    color: #101828;
  }

  .pisell-saas-register-subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #475467;
    font-weight: 400;
  }

  // 表单区域样式
  .pisell-saas-register-form {
    margin-top: 32px;
    margin-bottom: 16px;

    // 表单项标题
    .form-item-label {
      font-size: 14px;
      font-weight: 500;
      color: #344054;
      margin-bottom: 6px;
      text-align: left;
    }

    // 输入框样式
    .pisell-saas-register-input {
      height: 44px;
      border-radius: 8px;
      border: 1px solid #d0d5dd;
      background: #fff;

      &:hover {
        border-color: var(--theme-color);
      }

      &:focus {
        border-color: var(--theme-color);
        box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
      }

      &.ant-input-password {
        padding: 4px 11px;

        .ant-input {
          height: 34px;
        }
      }
    }

    // 登录按钮样式
    .pisell-saas-register-button {
      height: 44px;
      border-radius: 8px;
      background: var(--theme-color);
      border: none;
      font-weight: 500;

      &:hover {
        background: #6941c6;
      }

      &:focus {
        background: var(--theme-color);
        box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
      }

      &.margin-top-32 {
        margin-top: 32px;
      }
    }
  }

  .pisell-saas-register-form-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .pisell-saas-register-form-title {
    color: #101828;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
  }

  .pisell-saas-register-form-subtitle {
    color: #475467;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
  }

  .pisell-saas-register-form-email {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475467;
    font-size: 14px;
    font-weight: 400;

    &-icon {
      font-size: 20px;
      margin-left: 10px;
      cursor: pointer;
      color: #6941c6;
    }
  }

  // 页脚样式
  .pisell-saas-register-action {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #475467;
    font-weight: 400;

    a {
      margin-left: 4px;
      cursor: pointer;
      color: #6941c6;
      font-size: 14px;
      font-weight: 600;

      &:hover {
        color: #6941c6;
      }
    }

    .pisell-saas-register-link-button {
      padding: 0;
      margin: 0;
      font-size: 14px;
      font-weight: 600;
    }
  }

  .pisell-saas-register-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;

    .pisell-saas-register-divider-text {
      flex: 1;
      display: flex;
      align-items: center;
      color: #475467;
      text-align: center;
      font-size: 14px;
      font-weight: 500;

      &::before,
      &::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #eaecf0;
      }

      &::before {
        margin-right: 8px;
      }

      &::after {
        margin-left: 8px;
      }
    }
  }

  .pisell-lowcode-form-item {
    margin-bottom: 16px;
  }
}
