.register__container {

    .register__form {
        background: #EDF3FF;
        padding: 40px 20px;
        border-radius: 4px;
        min-height: calc(100vh - 220px);
        display: flex;
        align-items: flex-start;
        justify-content: center;

        .form__container {
            width: 100%;
            max-width: 520px;
            padding: 40px 40px 32px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 24px rgba(0, 63, 116, 0.08);

            .register__title {
                text-align: center;

                h2 {
                    font-size: 22px;
                    font-weight: 700;
                    color: #003f74;
                }

                p {
                    font-size: 13px;
                    color: #8a9bb5;
                    margin-bottom: 0;
                }
            }

            /* 浮动标签输入框统一风格 */
            .form-floating > .form-control,
            .form-floating > .form-select {
                border-radius: 4px;
                border-color: #d0d8e8;
                font-size: 14px;
            }

            .form-floating > .form-control:focus,
            .form-floating > .form-select:focus {
                border-color: #0066cc;
                box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
            }

            .form-floating > label {
                font-size: 13px;
                color: #8a9bb5;
            }

            /* 密码显示/隐藏按钮 */
            .password-field {
                position: relative;

                .password-toggle {
                    position: absolute;
                    right: 12px;
                    top: 50%;
                    transform: translateY(-50%);
                    background: none;
                    border: none;
                    color: #8a9bb5;
                    cursor: pointer;
                    padding: 4px;
                    z-index: 10;
                    font-size: 16px;
                    line-height: 1;
                    transition: color 0.15s ease;

                    &:hover {
                        color: #003f74;
                    }
                }

                /* 确保 input 有足够右侧空间 */
                .form-control {
                    padding-right: 44px;
                }
            }

            /* 邮箱行 - 输入框 + 发送验证码按钮 */
            .email-row {
                display: flex;
                gap: 8px;
                align-items: flex-start;

                .email-input {
                    flex: 1;
                    min-width: 0;
                }

                .send-code-btn {
                    white-space: nowrap;
                    font-size: 13px;
                    font-weight: 600;
                    padding: 0 16px;
                    height: 58px;
                    border-radius: 4px;
                    border-color: #0066cc;
                    color: #0066cc;
                    transition: all 0.15s ease;
                    flex-shrink: 0;

                    &:hover:not(:disabled) {
                        background-color: #0066cc;
                        color: #fff;
                    }

                    &:disabled {
                        opacity: 0.55;
                        cursor: not-allowed;
                        border-color: #8a9bb5;
                        color: #8a9bb5;
                    }
                }
            }

            /* 验证码发送提示 */
            #send-code-alert {
                font-size: 13px;
                border-radius: 4px;
                padding: 8px 12px;
                margin-top: -8px;
            }

            /* 必填标识 */
            .text-danger {
                font-size: 12px;
            }

            /* 注册按钮 */
            .register-btn {
                border-radius: 4px;
                text-transform: uppercase;
                font-weight: 600;
                letter-spacing: 0.04em;
                background: linear-gradient(43deg, #003f74 0%, #0387f4 100%);
                border: none;
                padding: 12px;
                font-size: 14px;
                transition: opacity 0.2s ease;

                &:hover {
                    opacity: 0.9;
                }

                &:disabled {
                    opacity: 0.7;
                }
            }

            /* 已有账号 */
            .sign-in {
                font-size: 13px;
                color: #8a9bb5;

                a {
                    font-size: 13px;
                    color: #003f74;
                    font-weight: 600;
                    text-decoration: none;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }

            /* 提示区域 */
            .alert {
                font-size: 13px;
                border-radius: 4px;
                padding: 10px 14px;
            }
        }
    }
}
