.saas-login-container {
  // width: 100%;
  width: 360px;
  max-width: 360px;
  min-width: 266px;
  margin: 0 20px;
  overflow-x: hidden;
  // margin: 0 auto;
  // padding: 24px;
  // text-align: center;
  // height: 100%;
  // overflow-y: auto;
  
  // Logo样式
  .saas-login-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;
    }
  }
  
  .saas-login-title {
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    margin-top: 24px;
    margin-bottom: 12px;
  }
  
  .saas-login-subtitle {
    font-size: 14px;
    color: #667085;
    margin-top: 0;
    margin-bottom: 32px;
  }
  
  .saas-login-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #E4E7EC;
    
    .tab {
      padding: 12px 24px;
      cursor: pointer;
      color: #667085;
      font-weight: 500;
      position: relative;
      
      &.active {
        color: var(--theme-color);
        
        &:after {
          content: '';
          position: absolute;
          bottom: -1px;
          left: 0;
          right: 0;
          height: 2px;
          background: var(--theme-color);
        }
      }
      
      &:hover {
        color: #6941C6;
      }
    }
  }
  
  // 表单区域样式
  .saas-login-form {
    // 表单项标题
    .form-item-label {
      font-size: 14px;
      font-weight: 500;
      color: #344054;
      margin-bottom: 6px;
      text-align: left;
    }

    // 输入框样式
    .saas-login-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;
        }
      }
    }

    // 登录按钮样式
    .saas-login-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);
      }
    }
    
    // 社交登录按钮样式
    .saas-login-social {
      width: 100%;
      
      .saas-login-social-button {
        height: 44px;
        border-radius: 8px;
        
        &.google {
          border-color: #D0D5DD;
          
          &:hover {
            background: #F9FAFB;
          }
        }
        
        &.facebook {
          border-color: #D0D5DD;
          
          &:hover {
            background: #F9FAFB;
          }
        }
        
        &.apple {
          border-color: #D0D5DD;
          
          &:hover {
            background: #F9FAFB;
          }
        }
      }
    }
  }
  
  // 页脚样式
  .saas-login-footer {
    margin-top: 32px;
    
    .saas-login-signup {
      font-size: 14px;
      color: #667085;
      margin-bottom: 16px;
      
      a {
        //color: #7F56D9;
        margin-left: 4px;
        cursor: pointer;
        
        &:hover {
          color: #6941C6;
        }
      }
    }
    
    .saas-login-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      
      a {
        font-size: 14px;
        color: #667085;
        cursor: pointer;
        
        &:hover {
          color: #101828;
        }
      }
    }
  }
} 