.win{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-win{
    background: #FFFFFF;
    border-radius: 12px;
    width: 436px;
    position: relative;
}
.close-button{
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 20px;
    color: #B0B0B0; /* var(--text-disabled) */
    cursor: pointer;
}
.need-help{
    color: #6B6B6B; /* var(--text-sencondary) */
    font-family: Inter-Regular;
    font-size: 13px;
    line-height: 17px;
    height: 40px;
    width: 100%;
    background: #F5F5F5; /* var(--background-disabled) */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px 12px 12px;
}
.need-help span{
    text-decoration: underline;
    cursor: pointer;
    margin: 0px 4px;
}

.login-input,
.register-input
{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 16px;
}

.login-win .title {
    color: #3c4659; /* --text-sencondary */
    font-size: 22px;
    line-height: 22px;
    padding: 40px 0 24px;
    text-align: center;
    font-family: "Vizard-Text-Medium" !important;
}

.login-win .or {
    color: #a7aab0; /* --text-disabled */
    font-family: Inter-Regular;
    font-size: 14px;
    line-height: 17px;
    margin: 16px 0;
    text-align: center;
}

.login-win .input-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.login-win .input-area .input-area-input {
    position: relative;
    width: 100%;
}

.login-win .input-area .input-area-input input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 24px;
    background: #f2f4f7; /* --background-page-tertiary */
    font-size: 14px;
    line-height: 20px;
    border-radius: 12px;
    font-family: Inter-Regular;
    border: 2px solid transparent;
    color: #3c4659 !important; /* --text-sencondary */
    box-sizing: border-box;
}

.login-win .input-area .input-area-input input:hover {
    border-color: #DCDFE4; /* --border-secondary */
}

.login-win .input-area .input-area-input input:focus {
    border-color: #3c4659; /* --text-sencondary */
}

.login-win .input-area .input-area-input input.password {
    padding-right: 62px !important;
}

.login-win .input-area .input-area-input .eye-area {
    height: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
}

.login-win .input-area .input-area-input .eye-icon {
    width: 100%;
    height: 100%;
    font-size: 24px;
    cursor: pointer;
    color: #3c4659; /* --text-sencondary */
}

.login-win .input-area .error-input {
    border-color: #ff4233 !important; /* --text-error */
}

.login-win .forget-password {
    color: #3c4659; /* --text-sencondary */
    font-family: Inter-Regular;
    font-size: 13px;
    line-height: 22px;
    text-decoration-line: underline;
    text-align: center;
    width: 90%;
    margin: 16px auto;
    cursor: pointer;
    user-select: none;
}

.login-win .confirm-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    font-family: Inter-Medium;
    font-size: 14px;
    color: #4822a5 !important;
    background-color: #e8deff;
}

.login-win .confirm-button:hover {
    cursor: pointer;
    background-color: #F5EEFF;
}

.login-win .confirm-button iconpark-icon {
    font-size: 20px;
}

.error-text {
    font-family: Inter-Regular;
    font-size: 12px;
    line-height: 20px;
    margin-top: 2px;
    color: #ff4233; /* --text-error */
}

.account-bottom {
    margin-top: 70px;
    text-align: center;
    color: #3c4659; /* --text-sencondary */
    font-family: Inter-Regular;
    font-size: 14px;
    line-height: 17px;
}

.account-bottom span {
    color: #421aa0; /* --button-brand-enable */
    cursor: pointer;
    user-select: none;
}



.sign-up {
    margin-top: 16px;
}

.policy-text {
    font-family: Inter-Regular;
    margin: 16px auto 0;
    font-size: 13px;
    line-height: 22px;
    color: #6e788e; /* var(--color-bice-700) */
    text-align: center;
}

.policy-text .policy {
    color: #6e788e;
    text-decoration: underline;
}

.account-bottom {
    margin-top: 48px;
}

.send-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    background-color: #EBF8FF; /* var(--background-active) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-success {
    width: 100%;
    padding-top: 40px;
}

.send-success-title {
    text-align: center;
    color: #3C4659; /* var(--text-sencondary) */
    font-family: "Vizard-Text-Medium" !important;
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 4px;
}

.email-is-sent-tips {
    color: #3C4659;
    text-align: center;
    font-family: Inter-Regular;
    font-size: 14px;
    line-height: 22px;
}

.email-is-sent-tips span {
    color: #3C4659;
    font-family: Inter-Medium;
    font-size: 14px;
}

.resend-button-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 12px;
}

.resend-button-area .confirm-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 136px;
    font-family: Inter-Medium;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    border-radius: 12px;
}

.refresh-btn {
    color: #00A9FF; /* var(--text-action) */
    font-family: Inter-Medium;
    font-size: 14px;
    line-height: 17px;
    cursor: pointer;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.google-login-button {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid #EAECEF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-family: Inter-Regular;
    font-weight: 500;
    font-size: 14px;
}

.google-login-button:hover {
    border: 2px solid #DCDFE4 !important;
}

.google-icon {
    display: block;
    top: 50%;
    left: 16px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    position: absolute;
}

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: not-allowed;
}

.loading-animation {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.google-button-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.google-button-area > div {
    width: 100% !important;
    height: 100%;
}

/* 忘记密码 */
.login-win > .forget-password,
.login-win > .forget-password * {
    text-decoration: none !important;
}

.login-win >.forget-password {
    padding-top: 40px;
    width: 90%;
    margin: 0 auto 28px;
    cursor: auto;
}

.login-win > .forget-password .login-input {
    width: 100%;
}

.forget-password .back {
    position: absolute;
    display: flex;
    align-items: center;
    top: 16px;
    left: 16px;
    cursor: pointer;
    color: #3C4659; /* var(--text-sencondary) */
    font-family: Inter-Regular;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    width: fit-content;
}

.forgot-pwd-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    background-color: #e8deff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-title {
    text-align: center;
    color: #3C4659;
    font-family: "Vizard-Text-Medium", sans-serif;
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 4px;
}

.tips {
    color: #898c93;
    text-align: center;
    font-family: Inter-Regular;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 30px;
}

.confirm-button {
    width: 100%;
    height: 48px;
    background-color: #4822A5;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter-Regular;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
}

.confirm-button.no-allow-button {
    background-color: #9CA3AF;
    cursor: not-allowed;
}

.success-tips {
    color: #3C4659;
    text-align: center;
    font-family: Inter-Regular;
    font-size: 16px;
    line-height: 22px;
    margin-top: 4px;
}

.error-text {
    color: red;
    font-size: 12px;
    line-height: 16px;
    text-align: left;
    margin-top: 4px;
}

/* === 邮件发送成功区块 === */
.send-success {
    width: 90%;
    padding-top: 40px;
    padding-bottom: 28px;
    margin: 0 auto;
}

.send-success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    background-color: #e8deff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-success-title {
    text-align: center;
    color: #3C4659;
    font-family: "Vizard-Text-Medium", sans-serif !important;
    font-size: 22px;
    line-height: 22px;
}

.success-username {
    color: #3c4659;
    font-family: Inter-Regular;
    font-weight: 700;
    font-size: 14px;
}

.email-is-sent-tips {
    color: #3C4659;
    text-align: center;
    font-family: Inter-Regular, sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.email-is-sent-tips span {
    color: #3C4659;
    font-family: Inter-Medium, sans-serif;
    font-size: 14px;
}

/* === 重新发送按钮区域 === */
.resend-button-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 12px;
}

.resend-button-area .confirm-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 136px;
    font-family: Inter-Medium, sans-serif;
    font-size: 14px;
    border-radius: 12px;
    background-color: #e8deff;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.resend-button-area .confirm-button:hover {
    background-color: #f5eeff;
}

.resend-button-area .confirm-button.no-allow-button {
    pointer-events: none;
}

/* === 刷新按钮 === */
.refresh-btn {
    color: #00a9ff;
    font-family: Inter-Medium, sans-serif;
    font-size: 14px;
    line-height: 17px;
    cursor: pointer;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.refresh-btn:hover {
    color: #008edb;
}

.rectangle-win {
    width: 436px;
    padding: 48px 20px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.shield-icon {
    font-size: 48px;
    color: #666;
}
.title {
    font-size: 26px;
    margin: 16px 0 8px;
    font-weight: 600;
}
.second-title {
    font-size: 16px;
    color: #535252;
}
.g-recaptcha {
    margin: 32px 0 48px;
    height: 65px;
}
.loading-area {
    font-size: 32px;
}
.bottom-text {
    font-size: 16px;
    color: #535252;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.merge-workspace-win {
    border-radius: 12px;
    background: #fff;
    padding: 24px 0;
}
.merge-workspace-win .merge-workspace-title {
    font-size: 16px;
    color: #4b5362;
    padding: 0 20px;
    font-family: Inter-Regular !important;
    font-weight: 500;
}
.scroll-area {
    width: 100%;
    height: 322px;
    margin-top: 8px;
    padding: 14px 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.workspace-list-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f7f7f9;
    border-radius: 12px;
    margin-bottom: 8px;
}
.list-line-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.name {
    font-size: 14px;
    color: #4b5362;
}
.members {
    font-size: 14px;
    color: #888;
}

.avatar {
    overflow: hidden;
}
.avatar img {
    width: 100%;
    height: 100%;
    display: block;
}
.text-avatar, .default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.text-avatar {
    font-weight: bold;
}
.default-avatar {
    background: #ccc;
}

.merge-workspace-win .login-win {
    width: 480px;
}