/* 水处理解决方案工具专用样式 - 主色调调整 */

/* 表单验证样式 */
.form-control.error {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.form-error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* 方案计数器 */
.solutions-count {
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.solutions-count span {
    color: #46b3c6; /* 更新为标题色调 */
    font-weight: 700;
}

/* 方案标签 */
.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.solution-tag {
    background: #e6fffa;
    color: #234e52;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-tag.primary {
    background: #e6f7ff;
    color: #46b3c6; /* 更新为标题色调 */
}

.solution-tag.secondary {
    background: #fefcbf;
    color: #744210;
}

/* 方案推荐强度 */
.solution-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.rating-label {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-star {
    color: #46b3c6; /* 更新为标题色调 */
    font-size: 16px;
}

/* 无结果状态 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #cbd5e0;
}

.no-results-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a5568;
}

.no-results-message {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.solution-card {
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }
.solution-card:nth-child(4) { animation-delay: 0.4s; }
.solution-card:nth-child(5) { animation-delay: 0.5s; }
.solution-card:nth-child(6) { animation-delay: 0.6s; }
.solution-card:nth-child(7) { animation-delay: 0.7s; }
.solution-card:nth-child(8) { animation-delay: 0.8s; }
.solution-card:nth-child(9) { animation-delay: 0.9s; }
.solution-card:nth-child(10) { animation-delay: 1.0s; }

/* 打印优化 */
@media print {
    .water-treatment-solution-wrapper {
        box-shadow: none !important;
    }
    
    .form-buttons,
    .loading-indicator {
        display: none !important;
    }
    
    .solution-divider {
        border: 1px solid #ccc !important;
    }
    
    .solution-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .form-control {
        border-width: 3px;
    }
    
    .solution-card::before {
        width: 6px;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    .solution-card,
    .loading-spinner {
        animation: none !important;
    }
    
    .btn-find-solutions:hover,
    .btn-reset-form:hover,
    .contact-item:hover {
        transform: none !important;
    }
}

/* 主色调相关样式更新 */
.btn-find-solutions:focus {
    box-shadow: 0 0 0 3px rgba(70, 179, 198, 0.3);
}

.form-control:focus {
    border-color: #46b3c6;
}

.contact-value:focus {
    outline: 2px solid #46b3c6;
    outline-offset: 2px;
}

/* 方案卡片悬停效果增强 */
.solution-card:hover .solution-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 星级评分颜色 */
.rating-star.filled {
    color: #46b3c6;
}

.rating-star.empty {
    color: #e2e8f0;
}

/* 选项框悬停效果 */
.form-control:hover {
    border-color: #96dae6;
}

/* 选项框聚焦效果 */
.form-control:focus {
    border-color: #46b3c6;
}