/* 检测页面专用样式 */
.detection-container {
    max-width: 900px;
    margin: 0 auto;
}

.upload-area {
    border: 2px dashed #28a745;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background-color: #f8fff9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #218838;
    background-color: #f0fff4;
}

.upload-area.dragover {
    border-color: #218838;
    background-color: #e8f5e8;
}

.file-preview {
    max-height: 200px;
    max-width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.upload-progress {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.file-list-item {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}

.file-list-item:last-child {
    margin-bottom: 0;
}

.crop-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.crop-btn {
    flex: 1;
    min-width: 120px;
}

.analysis-result {
    border-left: 4px solid #28a745;
    padding-left: 15px;
}

.confidence-bar {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.model-selection {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.model-option {
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-option:hover {
    border-color: #28a745;
    background-color: #f8fff9;
}

.model-option.selected {
    border-color: #28a745;
    background-color: #e8f5e8;
}

.result-icon-container {
    text-align: center;
    margin: 20px 0;
}

.status-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.status-badge.bg-success {
    background-color: #28a745;
}

.status-badge.bg-danger {
    background-color: #dc3545;
}

.analysis-result {
    padding: 20px 0;
}