/* ===== 测试声明专用样式 ===== */

/* 顶部滚动播出式测试声明（Marquee） */
.test-notice-marquee {
    background: linear-gradient(90deg, #fff3cd 0%, #ffe69c 50%, #fff3cd 100%);
    border-bottom: 2px solid #ffc107;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.test-notice-marquee .marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll 60s linear infinite;
    will-change: transform;
}

.test-notice-marquee .marquee-item {
    padding: 0 60px;
    display: inline-flex;
    align-items: center;
}

.test-notice-marquee .icon {
    font-size: 18px;
    margin-right: 8px;
    color: #d39e00;
}

.test-notice-marquee .hl {
    color: #c92a2a;
    font-weight: 700;
    margin: 0 4px;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.test-notice-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* 页面内的固定测试声明卡片（三个关键位置） */
.test-notice-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 6px solid #ffc107;
    border-right: 2px solid #ffc107;
    border-top: 2px solid #ffc107;
    border-bottom: 2px solid #ffc107;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 28px 0;
    box-shadow: 0 4px 12px rgba(212, 167, 44, 0.15);
    position: relative;
}

.test-notice-card .notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #d4a017;
}

.test-notice-card .notice-icon {
    font-size: 28px;
    line-height: 1;
}

.test-notice-card .notice-title {
    font-size: 18px;
    font-weight: 700;
    color: #856404;
    letter-spacing: 1px;
}

.test-notice-card .notice-en {
    font-size: 12px;
    color: #b8860b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.test-notice-card .notice-body {
    color: #664d03;
    font-size: 14px;
    line-height: 1.8;
}

.test-notice-card .notice-body p {
    margin: 0 0 10px 0;
}

.test-notice-card .notice-body strong {
    color: #c92a2a;
    font-weight: 700;
}

.test-notice-card .notice-body .contact-line {
    background: rgba(255,255,255,0.5);
    padding: 8px 12px;
    border-radius: 4px;
    margin: 6px 0;
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.test-notice-card .notice-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #d4a017;
    font-size: 12px;
    color: #856404;
    font-style: italic;
}

/* 报价旁边的悬浮警示标签 */
.price-disclaimer {
    display: inline-block;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 询价表单上方警示条 */
.form-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
}

.form-warning strong {
    color: #c92a2a;
}

/* 询问按钮伪装链接 */
.notice-link {
    color: #0056b3;
    font-weight: 700;
    text-decoration: underline dotted;
}

.notice-link:hover {
    color: #c92a2a;
}

/* ===== LOGO 样式（替换原 ☀） ===== */
.logo-icon-img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    background: white;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .test-notice-marquee { font-size: 12px; padding: 6px 0; }
    .test-notice-card { padding: 16px; margin: 16px 0; }
    .test-notice-card .notice-title { font-size: 15px; }
    .test-notice-card .notice-body { font-size: 13px; }
    .logo-icon-img { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .test-notice-card { padding: 12px; }
    .test-notice-card .notice-icon { font-size: 22px; }
    .test-notice-card .notice-title { font-size: 14px; }
}
