/* ========================================
   精简版联系我们页面样式 - 天空蓝主题
   单个客服分组，号码与二维码一一对应
   ======================================== */

/* 重置基础样式 */
.youquanyi-contactus-class {
    margin: 0;
    width: 100%;

}

/* ========================================
   容器
   ======================================== */
.xs-container {
    max-width: 1390px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* ========================================
   顶部提醒信息
   ======================================== */
.xs-notice-banner {
    background: linear-gradient(135deg, #fffaf5 0%, #fff8ed 100%);
    /* border: 1px solid #ffac31; */
    padding: 20px 45px;
    animation: slideDown 0.5s ease;
    width: 1299px;
    /* border-radius: 0; */
    margin: 0 auto;
    border-radius: 10px;
    /* background-color: #cecfcf; */
    margin-bottom: 50px;
}

.xs-notice-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.xs-notice-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    animation: pulse 2s ease infinite;
}

.xs-notice-icon i {
    font-size: 22px;
    color: #fff;
}

.xs-notice-text {
    flex: 1;
    color: #e65100;
    font-size: 15px;
    line-height: 1.8;
    padding-top: 8px;
}

.xs-notice-text p {
    margin: 0 0 8px 0;
}

.xs-notice-text p:last-child {
    margin-bottom: 0;
}

/* 提醒信息动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   主内容区域
   ======================================== */
.xs-main-section {
    padding: 39px 0;
    background: #e9e9e9;
}

/* ========================================
   客服卡片
   ======================================== */
.xs-service-card {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
    overflow: hidden;
}

/* 卡片头部 */
.xs-card-header {
    background: linear-gradient(135deg, #f1f1f1 0%, #ffffff 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.xs-header-icon {
    width: 80px;
    height: 80px;
    background: rgb(200 200 200 / 20%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.xs-header-icon i {
    font-size: 42px;
    color: #5fb878;
}

.xs-header-info {
    flex: 1;
}

.xs-header-title {
    font-size: 32px;
    font-weight: 600;
    color: #7a7a7a;
    margin: 0 0 10px 0;
}

.xs-header-desc {
    font-size: 16px;
    color: rgb(131 131 131 / 90%);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   客服列表
   ======================================== */
.xs-service-list {
    padding: 50px 100px 50px 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.xs-service-item {
    display: flex;
    gap: 40px;
    padding: 20px 29px 20px 40px;
    background: #fdfdfd;
    border: 2px solid #f3f3f3;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.xs-service-item:hover {
    border-color: #e4e4e4;
    box-shadow: 0 4px 20px rgb(69 69 69 / 15%);
    /* transform: translateY(-2px); */
}

/* 左侧：号码信息 */
.xs-item-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xs-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xs-contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xs-contact-label i {
    font-size: 20px;
    color: #4facfe;
}

.xs-contact-label span {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.xs-contact-number {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 1px;
    padding: 12px 0;
}

.xs-contact-actions {
    display: flex;
    gap: 12px;
}

.xs-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xs-btn i {
    font-size: 18px;
}

.xs-btn-copy {
    background: #fff;
    color: #666;
    border: 1px solid #e8e8e8;
}

.xs-btn-copy:hover {
    background: #fe924f;
    color: #fff;
}

.xs-btn-contact {
    background: linear-gradient(135deg, #ff0000 0%, #fe9a00 100%);
    color: #fff;
}

.xs-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

/* 右侧：二维码 */
.xs-item-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.xs-qrcode-wrapper {
    text-align: center;
}

.xs-qrcode-image {
    width: 168px;
    height: 168px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.15);
    /* margin-bottom: 12px; */
}

.xs-qrcode-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.xs-qrcode-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* 二维码占位符 */
.xs-qrcode-placeholder {
    width: 180px;
    height: 180px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.xs-qrcode-placeholder i {
    font-size: 48px;
    color: #ccc;
}

.xs-qrcode-placeholder p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* ========================================
   服务说明区域
   ======================================== */
.xs-tips-section {
    padding: 40px 0 60px 0;
    background: #fff;
}

.xs-tips-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    border-radius: 16px;
    border-left: 4px solid #4facfe;
}

.xs-tips-box > i {
    font-size: 28px;
    color: #4facfe;
    flex-shrink: 0;
}

.xs-tips-content {
    flex: 1;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.xs-tips-content p {
    margin: 0 0 10px 0;
}

.xs-tips-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   空状态
   ======================================== */
.xs-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.xs-empty-state i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 16px;
}

.xs-empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .xs-notice-banner {
        padding: 15px 0;
    }

    .xs-notice-content {
        gap: 12px;
    }

    .xs-notice-icon {
        width: 36px;
        height: 36px;
    }

    .xs-notice-icon i {
        font-size: 20px;
    }

    .xs-notice-text {
        font-size: 14px;
        padding-top: 6px;
    }

    .xs-main-section {
        padding: 40px 0;
    }

    .xs-card-header {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .xs-header-icon {
        width: 70px;
        height: 70px;
    }

    .xs-header-icon i {
        font-size: 36px;
    }

    .xs-header-title {
        font-size: 26px;
    }

    .xs-header-desc {
        font-size: 14px;
    }

    .xs-service-list {
        padding: 25px;
        gap: 25px;
    }

    .xs-service-item {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }

    .xs-item-left {
        order: 2;
    }

    .xs-item-right {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .xs-contact-number {
        font-size: 20px;
    }

    .xs-contact-actions {
        flex-wrap: wrap;
    }

    .xs-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .xs-qrcode-wrapper {
        width: 100%;
    }

    .xs-qrcode-image {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .xs-tips-section {
        padding: 30px 0 40px 0;
    }

    .xs-tips-box {
        flex-direction: column;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .xs-notice-text {
        font-size: 13px;
    }

    .xs-card-header {
        padding: 25px 20px;
    }

    .xs-header-icon {
        width: 60px;
        height: 60px;
    }

    .xs-header-icon i {
        font-size: 32px;
    }

    .xs-header-title {
        font-size: 22px;
    }

    .xs-service-list {
        padding: 20px;
        gap: 20px;
    }

    .xs-service-item {
        padding: 20px;
    }

    .xs-contact-number {
        font-size: 18px;
        word-break: break-all;
    }

    .xs-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .xs-qrcode-image {
        width: 140px;
        height: 140px;
    }
}



/* ========================================
   打印样式
   ======================================== */
@media print {
    .xs-service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .xs-card-header {
        background: none;
        color: #000;
    }

    .xs-header-title,
    .xs-header-desc {
        color: #000;
    }

    .xs-btn {
        display: none;
    }
}
