.register-form-ibox{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 0;
}
.form-container h3 {
    font-size: 32px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: .5em;
    color: rgba(0, 0, 0, 0.85);
}
.form-container p.switch {
    font-size: 14px;
    line-height: 21px;
    color: rgb(144, 147, 153);
    display: flex;
    margin-top: 0;
    margin-bottom: 1em;
}
.form-container p.switch a {
    display: flex;
    cursor: pointer;
    color: #ff7d00;
    user-select: none;
}
.form-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,.12);
    box-sizing: border-box;
    position: relative;
}

.form-item {
    margin-bottom: 16px;
}

/* 输入框样式 */
.input-wrapper {
    position: relative;
}

.form-item .ant-input {
    width: 100%;
    height: 40px;
    padding: 6px 11px;
    padding-left: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    box-sizing: border-box;
}
.form-item .ant-input:hover {
    border-color: #FF7D00;
    border-inline-end-width: 1px;
    z-index: 1;
}
.form-item .ant-input::placeholder{
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.form-item .ant-input:focus {
    border-color: #FF7D00;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: 0;
}

/* 错误状态 */
.has-error .ant-input {
    border-color: #ff4d4f !important;
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
}

/* 图标样式 */
.input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.25);
}
.input-prefix svg{
    position: relative;
    top: 2px;
}
/* 图形验证码区域 */
.captcha-suffix {
    position: absolute;
    right: 4px;
    top: 0;
    width: 80px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    color: #FF7D00;
    font-size: 18px;
    letter-spacing: 2px;
}

/* 获取验证码按钮 */
.get-code-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    height: 30px;
    border: none;
    color: #FF7D00;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    background-color: #ffffff;
    outline: none;
}
.get-code-btn:hover{
    background-color: #ffffff;
    color: #FF7D00;
}

.get-code-btn:disabled {
    color: rgba(0, 0, 0, 0.25);
    cursor: not-allowed;
}

/* 注册按钮 */
.submit-btn {
    width: 100%;
    height: 40px;
    background: #FF7D00;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.submit-btn.disabled-btn{
    cursor: no-drop;
    background-color: rgba(0, 0, 0, 0.25);
}

.submit-btn.disabled-btn:hover{
    background-color: rgba(0, 0, 0, 0.25);
}

.submit-btn:hover {
    background: #ed8828;
}

/* 用户协议 */
.agreement-check {
    display: flex;
    align-items: center;
    margin-top: 16px;
    font-size: 12px;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.agreement-check label{
    display: flex;
    align-items: center;
}

/* .agreement-check input {
    margin-right: 8px;
} */

.agreement-check a {
    color: #FF7D00;
    text-decoration: none;
}

/* 手机号已注册提示 */
.phone-registered-tip {
    color: #909399;
    font-size: 12px;
    text-align: right;
    margin-top: 4px;
}

.phone-registered-tip a {
    color: #FF7D00;
    margin-left: 4px;
}

/* 动画效果 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake-animation {
    animation: shake 0.5s ease-in-out;
}

/* 通知条 */
.notification-ibox {
    position: fixed;
    top: 0px;
    left: 50%;
    padding: 8px 12px;
    background: #ffffff;
    color: #000;
    text-align: center;
    transition: transform 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translate(50%, -100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10005;
}

.notification-ibox.show {
    transform: translate(50%, 110px);
}

.notification-ibox .success-icon,
.notification-ibox .fail-icon{
    display: none;
    height: 18px;
    margin-right: 8px;
}

.notification-ibox.success .success-icon{
    display: block;
}

.notification-ibox.error .fail-icon{
    display: block;
}

/*没收到验证码提示框*/
.NoCodeTip{
    margin: 16px 0;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
    font-size: 14px;
    position: relative;
    cursor: pointer;
    text-align: right;
}
.ant-popover-content {
    position: absolute;
    right: -90px;
    top: -100px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    width: max-content;
    font-size: 14px;
    text-align: left;
}
.ant-popover-content.show {
  opacity: 1;
  visibility: visible;
}
.ant-popover-arrow {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
    width: 16px;
    height: 16px;
    overflow: hidden;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%) rotate(180deg);
}
.ant-popover-arrow::before {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 16px;
    height: 8px;
    background: #ffffff;
    clip-path: polygon(1.6568542494923806px 100%, 50% 1.6568542494923806px, 14.34314575050762px 100%, 1.6568542494923806px 100%);
    clip-path: path('M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z');
    content: "";
}
.ant-popover-arrow::after {
    content: "";
    position: absolute;
    width: 8.970562748477143px;
    height: 8.970562748477143px;
    bottom: 0;
    inset-inline: 0;
    margin: auto;
    border-radius: 0 0 2px 0;
    transform: translateY(50%) rotate(-135deg);
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.1);
    z-index: 0;
    background: transparent;
}
.ant-popover-inner {
    background-color: #ffffff;
    background-clip: padding-box;
    border-radius: 8px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    padding: 12px;
}
.ant-popover-inner-content {
    color: rgba(0, 0, 0, 0.88);
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

@media only screen and (max-width: 991px){
    .form-container h3{
        font-size: 28px;
    }
    .register-form-ibox{
        padding: 50px 0;
    }
}

@media only screen and (max-width: 767px){
    .form-container h3{
        font-size: 26px;
    }
    .form-container{
        width: 340px;
        padding: 26px;
    }
}
