/* analyze.css - 음식 분석 페이지 스타일 */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: #f1f8e9;
}

.upload-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.result-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.food-item {
    border-left: 4px solid var(--primary-color);
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.nutrition-label {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
}

.nutrition-heading {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 8px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
}

.nutrition-total {
    font-weight: bold;
    border-top: 4px solid #333;
    margin-top: 10px;
    padding-top: 10px;
}

.loading-spinner {
    display: none;
    margin: 20px auto;
}

#resultArea {
    display: none;
}

.mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.bbox-toggle-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.bbox-toggle-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.3);
}

@media (max-width: 576px) {
    .upload-area {
        padding: 20px;
    }
    .mobile-buttons {
        flex-direction: column;
    }
}
