/* 视野搜索训练专用样式 - 极简版 */

.search-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
}

.search-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.difficulty-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.difficulty-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.difficulty-btn.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.difficulty-info {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #f5f7fa;
    border-left: 4px solid var(--primary-color);
    font-size: 14px;
    color: #666;
}

.training-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f7fa;
    border-radius: 4px;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-label {
    font-weight: normal;
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2em;
}

.results-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    text-align: center;
    flex-basis: calc(50% - 20px);
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.result-label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.result-value {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.target-found {
    animation: pulse 0.5s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .results-summary {
        flex-direction: column;
    }
    
    .result-item {
        flex-basis: 100%;
    }
    
    .training-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 10px;
    }
}