/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    padding: 50px;
    /*background-color: #f5f5f5;*/
    background-color: lightgray;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#payContainer {
    display: flex;
    flex-direction: column;
}

#payContainer span {
    font-size: 18px;
    font-weight: bold;
    color: #ff5000;
}

#pay_name {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 支付按钮样式 */
.pay-btn {
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.pay-btn:hover {
    background-color: #0056b3;
}

/* 隐藏内容样式 */
.hidden-content {
    display: none; /* 默认隐藏 */
    flex-direction: column;
    align-items: center;

    /*margin-top: 20px;*/
    /*padding: 20px;*/
    /*background-color: white;*/
    /*border-radius: 4px;*/
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
}

.hidden-content span {
    margin-bottom: 20px;
}

.download_a {
    width: 100%;
    display: flex;
    justify-content: space-around;
    color: white;
}

.download_a a {
    text-decoration: none;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
    background-color: #ff5000;
    cursor: pointer;
}

.download_a a:visited,
.download_a a:hover,
.download_a a:active {
  color: white;
}

.download_a a:hover {
    background-color: #be7301;
}

/* 遮罩层样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 弹窗基础样式 */
.modal {
    width: 400px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* 支付方式选择样式 */
.pay-methods {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.method-item.active {
    border-color: #007bff;
}

.method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    background-size: cover;
    background-position: center;
}

.method-icon svg {
    width: 60px;
    height: 60px;
}

.alipay-icon {
    background-image: url("https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg");
}

.wechat-icon {
    background-image: url("https://res.wx.qq.com/open/zh_CN/htmledition/images/favicon/favicon_wx2.ico");
}

.method-name {
    font-size: 14px;
}

/* 确定按钮样式 */
.confirm-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.confirm-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 二维码弹窗样式 */
.qrcode-modal {
    text-align: center;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-img img {
    width: 180px;
    height: 180px;
}

.success-btn {
    background-color: #28a745;
}

.success-btn:hover {
    background-color: #218838;
}