body{
    background: url(../images/bg.png) no-repeat center center;
    /* 背景图片100%，铺满整个页面 */
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: center;
}
.container{
    margin-top: 40vh;

}
.form-container{
    margin-top: 100px;
    background: url(../images/sqr.png) no-repeat center center;
    /* 背景图片100%，铺满整个容器 */
    background-size: 100% 100%;
   
    background-repeat: no-repeat;
    background-position: center center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    padding: 30px;
    padding-top: 50px;
}
.success-container{
    background: url(../images/lc2.png) no-repeat center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 30px;
    padding-top: 50px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: center;
}
.form-group{
    margin-bottom: 20px;
    /* 左右布局，垂直居中对齐 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    align-items: center;
}
.form-group label{
    display: block;
    width: 100px;
    color: #000;
}
.form-group input{
    width: 100%;
    padding:5px;
    border:none;
}
.readonly{
    color: #DC0101;
    font-weight: bold;
}
.btn-block{
    margin-bottom: 10px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: #DC0101;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.btn-block2{
    margin-bottom: 20px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: #DC0101;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.modal{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content{
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* 自定义弹窗样式 */
.custom-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.custom-modal[style*="display: flex"],
.custom-modal[style*="display:flex"] {
    display: flex !important;
}

.custom-modal-backdrop {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.custom-modal-dialog {
    position: relative;
    width: 80%;
    max-width: 500px;
    z-index: 2001;
}

.custom-modal-content {
   
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 300px;
}

/* 不同弹窗的背景图片 */
.custom-modal-tudou {
    background-image: url(../images/tdlj.png);
}

.custom-modal-group {
    background-image: url(../images/qlewm.png);
}

.custom-modal-chat {
    background-image: url(../images/fzrlj.png);
}

.custom-modal-qrcode {
    background-image: url(../images/fzrewm.png);
}

.custom-modal-result {
    background-image: url(../images/hzbj.png);
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.custom-modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.custom-modal-body {

    padding: 200px 30px 30px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-modal-body-content {
    text-align: center;
    margin-top: 40px;
    min-height: 100px;
    font-size: 20px;
    font-weight: bold;
    word-break: break-all;
}

.custom-modal-btn {
    text-align: center;
    margin-top: 40px;
}

.custom-modal-btn img {
    max-width: 300px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.custom-modal-btn img:hover {
    transform: scale(1.05);
}

.copy-link-btn:hover {
    transform: scale(1.05);
}

.save-qrcode-btn:hover {
    transform: scale(1.05);
}

/* 复制提示样式 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 3000;
    pointer-events: none;
    animation: toastFadeIn 0.3s ease;
}

@keyframes toastFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
