@media (max-width: 767px){
header .logo {
width: 150px;
}    
}

@media (max-width: 960px){
header .logo {
width: 150px;
left: 20px;
top: 10px;
}    
}

@media (max-width: 1200px){
header .logo {
width: 150px;
left: 20px;
}    
}
@keyframes customerColorChange {
0% {
box-shadow: 0 0px 5px #ff000020;
}
5% { 
box-shadow: 0 0px 10px #ff000035;
}
20% {
box-shadow: 0 0px 15px #ff000065;
}
35% {
box-shadow: 0 0px 20px #ff000085;
}
50% {
box-shadow: 0 0px 25px #ff0000;
}
65% {
box-shadow: 0 0px 20px #ff000035;
}
70% {
box-shadow: 0 0px 15px #ff000065;
}
85% {
box-shadow: 0 0px 10px #ff000085;
}
100% {
box-shadow: 0 0px 20px #ff0000;
}
}
.customer-service-widget {
padding-top:10px;
position: fixed;
bottom: 20px;
right:20px;
width: auto; 
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
overflow: hidden;
z-index: 1000;
font-family: Arial, sans-serif, "Microsoft YaHei";
display: none;
transition: opacity 0.3s ease;
opacity: 0;
}
.customer-service-widget-mini {
padding-top:0px;
position: fixed;
bottom: 20px;
right:20px;
width: 50px;
height: 50px;  
text-align: center;
line-height:3rem;
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 50%;
box-shadow: 0 0px 15px #ff0000;
overflow: hidden;
z-index: 999;
font-family: Arial, sans-serif, "Microsoft YaHei";
display: none;
transition: opacity 0.3s ease;
opacity: 0;
cursor:pointer;
animation: customerColorChange 3s infinite;
} 
.customer-service-widget.show {
display: block;
opacity: 1;
}
.customer-service-widget-mini.show {
display: block;
opacity: 1;
}
.widget-collapsed {
padding: 10px;
background-color: #ccc;
color: white;
text-align: center; 
font-size: 14px;
font-weight: bold;
cursor: pointer;
user-select: none;
}
.widget-expanded {
display: none;
padding: 15px 10px;
text-align: center;
}
.qrcode-container {
padding: 10px;
margin-bottom: 10px;
}
.qrcode-image {
width: 100px;
height: 100px;
max-width: 100%;
display: block;
margin: 0 auto;
}
.qrcode-tip {
font-size: 13px;
color: #666;
margin-top: 5px;
text-align: center;
}
.customer-service-widget.expanded .widget-collapsed {
display: none;
}
.customer-service-widget.expanded .widget-expanded {
display: block;
}
.close-button {
position: absolute;
top: 5px;
right: 8px;
font-size: 16px;
color: #999;
cursor: pointer;
line-height: 1;
font-weight: bold;
}
.close-button:hover {
color: #333;
}
.content {
height: 200vh;
padding: 20px;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 外层容器，边距50px */
.customer_container {
margin: 0px;
background-color:#f5f5f5;
padding:50px;
}

/* 主容器，使用 Flex 布局 */
.customer_form-container {
display: flex;
gap: 40px;
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
}

/* 左侧文字内容 */
.customer_text-content {
width: 45%;
padding: 40px;
color: #333;
}

.customer_text-content p {
font-size: 15px;
color: #666;
text-align: left;
}

/* 表单区域 */
.customer_form-wrapper {
flex: 1;
padding: 40px;
background-color: #fff;
}

.customer_form-wrapper .customer_text-notice {
display:none;
}

.customer_form-group {
margin-bottom: 16px;
}

.customer_form-row {
display: flex;
gap: 16px;
}

.customer_form-row .customer_form-group {
flex: 1;
}

.customer_form-group label {
display: block;
margin-bottom: 6px;
font-size: 14px;
color: #333;
}

.customer_form-group input,
.customer_form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
}

.customer_form-group textarea {
height: 120px;
resize: vertical;
}

.customer_submit-btn {
background-color: #007bff;
color: white;
padding: 12px 30px;
border: none;
border-radius: 4px;
font-size: 1.25rem;
cursor: pointer;
margin-top: 10px;
width:46.5%;
border-radius:50px;
}

.customer_submit-btn:hover {
background-color: #0056b3;
}

/* 响应式：屏幕小于 1280px 或移动设备 */
@media (max-width: 1279px) {
.customer_container { 
margin:0px;
padding: 20px;
background: linear-gradient(to bottom, #ffffff, #000000);
}

.customer_form-container {
flex-direction: column;
gap: 20px;
background-color: #ffffff;
border-radius:8px;
}

/* 隐藏左侧文字内容 */
.customer_text-content {
display: none;
}

.customer_form-wrapper {
padding: 15px
}

.customer_form-wrapper .text-notice {
font-size: 18px;
margin-bottom: 24px;
text-align: center;
}

.customer_form-row {
flex-direction: column;
} 
.customer_form-group-phone{
margin-top: -15px;
}
.customer_submit-btn {
padding: 14px;
font-size: 18px;
width: 100%;
border-radius:8px;
}
}

/* 手机设备进一步优化 */
@media (max-width: 768px) {
.customer_container {
margin:0px
}

.customer_form-wrapper .customer_text-notice {
font-size: 16px;
margin-bottom: 20px;
}

.customer_form-group label {
font-size: 14px;
}

.customer_form-group input,
.customer_form-group textarea {
font-size: 16px;
padding: 12px;
}
} 

    /* 背景遮罩层 */
.Page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

/* 弹出框样式 */
.Page-toast {
    background-color: #fff;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    text-align: center;
    max-width: 300px;
    animation: slideUp 0.3s ease-out;
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 上滑动画 */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}