li.user-name-and-badges-intop {
    cursor: pointer;
}
li.user-name-and-badges-intop:hover {
    opacity: 0.8;
}

/* 遮罩层 */
#rebate-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 9999;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    padding: 20px;
    box-sizing: border-box;
}

/* 弹窗主体 */
#rebate-modal form {
    background: #fff;
    padding: 30px 20px;
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

form#rebate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 标题 */
#rebate-modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

/* 输入框 */
#rebate-modal input[type="text"],
#rebate-modal input[type="hidden"] {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 按钮 */
#rebate-modal button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

/* Submit 按钮 */
#rebate-modal button[type="submit"] {
    background-color: #de1414;
    color: #fff;
}

#rebate-modal button[type="submit"]:hover {
    background-color: #ff7300;
}


/* Cancel 按钮 */
#rebate-modal button#rebate-cancel {
    background-color: #ccc;
    color: #333;
}

/* 提示信息 */
#rebate-msg {
    display: block;
    margin-top: 10px;
    color: red;
    font-size: 13px;
    text-align: center;
}

/* Flex 居中 modal 内容 */
#rebate-modal.show {
    display: flex;
}
