/* CSS Document */
/* --- 浮动小弹窗 (触发器) 的样式 --- */
.floating-banner {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 274px;
    height: 274px;
    background-image: url('2244.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000;
    cursor: pointer;
    transition: right 0.6s ease-in-out;
}
.floating-banner.hidden {
    right: -250px; /* 滚动时完全隐藏 */
}
.floating-banner.partially-hidden {
    right: -185px; /* 点击关闭后部分隐藏 */
}
.banner-close-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    z-index: 1001;
}

/* --- 居中大弹窗 (Modal) 的样式 --- */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-container.visible {
    display: flex;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.composite-popup-container {
    width: 685px;
    display: flex;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2001;
    transform: translateY(-60px); /* 让弹窗位置稍微偏上一点 */
}
.popup-content-area {
    width: 425px;
    background-color: #fff;
    padding: 40px 40px 55px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
}
.popup-image-area {
    width: 260px;
    flex-shrink: 0;
    background-image: url('5544.png');
    background-size: cover;
    background-position: center;
}
.content-left {
    width: 270px;
    flex-shrink: 0;
}
.popup-title {
    font-size: 28px;
    color: #303133;
    font-weight: 600;
    margin: 0;
    text-align: left;
}
.popup-instruction {
    font-size: 14px;
    color: #909399;
    margin: 10px 0 30px 0;
    text-align: left;
}
.call-button-wrapper {
    display: flex;
    width: 100%;
    height: 44px;
    border-radius: 5px;
    overflow: hidden;
}
.call-button-icon {
    width: 44px;
    height: 100%;
    background-color: #1677ff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.call-button-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}
.call-button-number {
    flex-grow: 1;
    background-color: #1890ff;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.countdown-timer {
    margin-top: 25px;
    font-size: 14px;
    color: #606266;
    text-align: left;
}
.countdown-timer #timer {
    color: #f56c6c;
    font-weight: bold;
    margin: 0 4px;
}
.qr-code-bubble {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    right: 6px;
    width: 90px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #1890ff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.qr-code-bubble img {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto;
}
.qr-code-bubble .qr-text {
    font-size: 12px;
    color: #606266;
    text-align: center;
    margin-top: 6px;
}
.qr-code-bubble::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -7px;
    border: 7px solid transparent;
    border-left: none;
    border-right: 7px solid #1890ff;
}
.qr-code-bubble::after {
    content: '';
    position: absolute;
    top: 18px;
    left: -6px;
    border: 7px solid transparent;
    border-left: none;
    border-right: 7px solid #fff;
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 2002;
}
.modal-close-btn:hover {
    color: #333;
}

