.custom-modal-width .modal-dialog {
        max-width: 600px;
    }
    /* 如果需要兼容 modal-dialog-centered 的居中计算，确保 width 自适应 */
    .custom-modal-width .modal-dialog .modal-content {
        width: 100%;
    }
    /* 关键：弹窗打开时禁止 Bootstrap 隐藏 body 的滚动条 */
    body.modal-open {
        overflow-y: auto !important;
        padding-right: 0 !important;
    }

    /* 半透明 / 毛玻璃弹窗样式 */
    .modal-content {
        background-color: rgba(255, 255, 255, 0.9);
        //backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(10px);
        border: none;
        border-radius: 12px;
    }

    /* 可选：让遮罩层稍微透明一点 */
    .modal-backdrop.show {
        opacity: 0.2;
    }

    .get-code{
        display: flex;
        align-items: center;
        justify-content: center;
        color: #F7BA0A;
        cursor: pointer;
    }
    .enter-captcha{
        flex: 1 1 0%;
    }
    .captcha{
        flex: 0 1 30% !important;   /* basis:30%  shrink:1  grow:0 */
        min-width: 60px; /* 防止过小无法输入 */
    }
    .reg-set{
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .reg-button{
        padding: 5px 15px;
        color: white;
        background-color: #F7BA0A;
        border-radius: 10px;
        cursor: pointer;
        /* 可选：加强悬停反馈 */
        transition: opacity 0.2s, box-shadow 0.2s;
        box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.2);
        user-select: none;
    }
    .reg-button:hover{
        opacity: 0.8;
    }
    .input-group-text {
        background-color: white; /* 设为透明，取消背景色 */
        border-right: none !important;
        //border: none !important;                   /* 去掉边框，防止残留边线 */
    }
    .modal-body .login-icon{
        width: 20px;
        height: auto;
    }
    /* 去掉右侧输入框的左边框，避免与图标区衔接处出现双线 */
    .input-group > .in-border {
        border-left: none;
    }
    /* 去除输入框点击时的蓝色阴影和边框变色 */
    .form-control:focus {
        box-shadow: none !important;       /* 去除蓝色阴影（光晕） */
        border-color: #ced4da !important; /* 恢复默认边框色，防止变蓝（若你之前设了透明或去掉了边框，可改为对应值，如 transparent） */
        outline: none !important;          /* 额外确保移除浏览器默认轮廓 */
    }


    #inputCode{
        margin-right: 10px;
    }
    #loginCode{
        margin-right: 10px;
    }
    /* 针对指定 ID 的输入框设置 placeholder 颜色 */
    .form-control::placeholder {
        color: #B8B8B8;
        opacity: 1;
    }


/* 顶部提示容器 */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

/* 显示状态 */
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
