/* 运费计算器样式 */

.calculator-widget {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.calculator-widget h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.calc-form .form-group {
    display: flex;
    flex-direction: column;
}

.calc-form .form-group.full-width {
    grid-column: span 2;
}

.calc-form label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.calc-select,
.calc-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.calc-select:focus,
.calc-input:focus {
    outline: none;
    border-color: var(--dhl-red);
    box-shadow: 0 0 0 3px rgba(212, 5, 17, 0.1);
}

.calc-btn {
    background: linear-gradient(135deg, var(--dhl-red) 0%, var(--dhl-dark-red) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: span 2;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 5, 17, 0.3);
}

.calc-result {
    margin-top: 20px;
}

.result-success {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    animation: slideIn 0.5s ease;
}

.result-error {
    background: #fff5f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    animation: slideIn 0.5s ease;
}

.result-success h4 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 16px;
}

.result-error h4 {
    color: #dc3545;
    font-size: 16px;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.result-details p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.result-details strong {
    color: var(--text-dark);
}

.price {
    color: var(--dhl-red);
    font-weight: bold;
    font-size: 18px;
}

.result-note {
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    font-size: 22px;
    color: #f10707;
    margin-top: 15px;
}

.consult-btn {
    background: var(--dhl-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
}

.consult-btn:hover {
    background: var(--dhl-dark-red);
    transform: translateY(-1px);
}


/* FAQ页面样式 */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.faq-category {
    margin-bottom: 40px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.faq-category h2 {
    color: var(--dhl-red);
    margin-bottom: 25px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--dhl-yellow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.faq-contact {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-top: 40px;
}

.faq-contact h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.faq-contact p {
    margin-bottom: 30px;
    font-size: 16px;
}

.faq-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-method .contact-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.contact-method strong {
    color: white;
    font-size: 16px;
}

.contact-method a {
    color: white;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}


/* 服务高亮框样式 */

.service-highlight-box {
    background: #fff8e1;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.service-highlight-box h4 {
    color: #d63031;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.service-highlight-box ul {
    list-style: none;
    padding: 0;
}

.service-highlight-box li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 14px;
    line-height: 1.5;
}

.service-highlight-box li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-highlight-box strong {
    color: var(--dhl-red);
    font-weight: 600;
}


/* 响应式设计 */

@media (max-width: 768px) {
    .calc-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .calc-form .form-group.full-width {
        grid-column: span 1;
    }
    .calc-btn {
        grid-column: span 1;
    }
    .result-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .faq-contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .service-highlight-box {
        padding: 15px;
        margin: 15px 0;
    }
}


/* 动画效果 */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}